Регистрация
url | /api/singin |
---|---|
Тип | POST X-FORM-URLENCODED |
Релиз | SPACEX |
Метка | FORM-FEEDBACK |
Название по умолчанию | Регистрация |
Макеты | |
Связанные статьи |
Content by label
There is no content with the specified labels
|
Parameter | Type | Description | Required |
---|---|---|---|
action | string | “AddClient” | Required |
owner_user_id | int | The ID of the user that should own the client. Optional. When not provided, a new user will be created. | Optional |
firstname | string | First name of the client to be created. Also used for the first name of the user when owner_user_id is not specified. | Required |
lastname | string | Last name of the client to be created. Also used for the last name of the user when owner_user_id is not specified. | Required |
companyname | string | Optional | |
string | Email address of the client to be created. Also used for the email of the user when owner_user_id is not specified. | Required | |
address1 | string | Required | |
address2 | string | Optional | |
city | string | Required | |
state | string | Required | |
postcode | string | Required | |
country | string | 2 character ISO country code. | Required |
phonenumber | string | Required | |
tax_id | string | The client’s tax ID. | Optional |
password2 | string | The password for the newly-created user account. Required when owner_user_id is not specified. | Optional |
securityqid | int | The ID of the security question in tbladminsecurityquestions . Required when owner_user_id is not specified. | Optional |
securityqans | string | The security question answer for a newly-created user. | Optional |
currency | int | Currency ID from tblcurrencies . | Optional |
groupid | int | Client Group ID from tblclientgroups . | Optional |
customfields | string | Base64 encoded serialized array of custom field values. | Optional |
language | string | Default language setting. Also used for the language of the user when owner_user_id is not specified. Provide the full name: ‘english’, ‘french’, etc…. | Optional |
clientip | string | The originating IP address for the request. | Optional |
notes | string | Admin only notes. | Optional |
marketingoptin | bool | Whether the client should opt-in to receiving marketing emails. | Optional |
noemail | bool | Whether to send the client a welcome email. A true value will not send the email. | Optional |
skipvalidation | bool | Whether to enforce required fields. A true value will not enforce required fields. This does not apply to email and password2 when owner_user_id is not specified. | Optional |
Deprecated | |||
Deprecated | |||
Deprecated | |||
Deprecated | |||
Deprecated | |||
Deprecated |
Parameter | Type | Description | Required |
---|---|---|---|
action | string | “UpdatePayMethod” | Required |
clientid | int | The id of the client matching the Pay Method | Required |
paymethodid | int | The id of the payment method to update | Required |
card_number | string | Credit Card Number. The card number to update for a CreditCard or RemoteCreditCard Pay Method. Optional. Only provide if you wish to make an update | Optional |
card_expiry | string | The expiry date to update for a CreditCard or RemoteCreditCard Pay Method. Format ‘MMYY’ eg 0122. Optional. Only provide if you wish to make an update | Optional |
card_start | string | The start date to update for a CreditCard or RemoteCreditCard Pay Method. Format ‘MMYY’ ‘eg’ 0122. Optional. Only provide if you wish to make an update | Optional |
card_issue_number | int | The issue_number to update for a CreditCard or RemoteCreditCard Pay Method. Optional. Only provide if you wish to make an update | Optional |
bank_name | string | The name of the bank. Optional. Only provide if you wish to make an update | Optional |
bank_account_type | string | The type of bank account (checking, credit etc). Optional. Only provide if you wish to make an update | Optional |
bank_code | string | The bank code. Also called sort code or routing number. Optional. Only provide if you wish to make an update | Optional |
bank_account | string | The account number. Required for BankAccount type. Optional. Only provide if you wish to make an update | Optional |
set_as_default | bool | Should the new Pay Method be the client default | Optional |
Ответы
200:
{"status": "success"}
CODE