url

/api/singin

Тип

POST  X-FORM-URLENCODED  

Релиз

SPACEX

Метка

FORM-FEEDBACK  

Название по умолчанию

Регистрация

Макеты


Связанные статьи

There is no content with the specified labels


ParameterTypeDescriptionRequired
actionstring“AddClient”Required
owner_user_idintThe ID of the user that should own the client. Optional. When not provided, a new user will be created.Optional
firstnamestringFirst name of the client to be created. Also used for the first name of the user when owner_user_id is not specified.Required
lastnamestringLast name of the client to be created. Also used for the last name of the user when owner_user_id is not specified.Required
companynamestring
Optional
emailstringEmail address of the client to be created. Also used for the email of the user when owner_user_id is not specified.Required
address1string
Required
address2string
Optional
citystring
Required
statestring
Required
postcodestring
Required
countrystring2 character ISO country code.Required
phonenumberstring
Required
tax_idstringThe client’s tax ID.Optional
password2stringThe password for the newly-created user account. Required when owner_user_id is not specified.Optional
securityqidintThe ID of the security question in tbladminsecurityquestions. Required when owner_user_id is not specified.Optional
securityqansstringThe security question answer for a newly-created user.Optional
currencyintCurrency ID from tblcurrencies.Optional
groupidintClient Group ID from tblclientgroups.Optional
customfieldsstringBase64 encoded serialized array of custom field values.Optional
languagestringDefault 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
clientipstringThe originating IP address for the request.Optional
notesstringAdmin only notes.Optional
marketingoptinboolWhether the client should opt-in to receiving marketing emails.Optional
noemailboolWhether to send the client a welcome email. A true value will not send the email.Optional
skipvalidationboolWhether to enforce required fields. A true value will not enforce required fields. This does not apply to emailand password2 when owner_user_id is not specified.Optional
cardtypestringCredit card type. Provide full name: Visa, Mastercard, American Express, etc….Deprecated
cardnumstringCredit card number.Deprecated
expdatestringFormat: MMYY.Deprecated
startdatestringFormat: MMYY (if applicable).Deprecated
issuenumberstringCredit card issue number (if applicable).Deprecated
cvvstringCredit card CVV number (will not be stored).Deprecated
ParameterTypeDescriptionRequired
actionstring“UpdatePayMethod”Required
clientidintThe id of the client matching the Pay MethodRequired
paymethodidintThe id of the payment method to updateRequired
card_numberstringCredit Card Number. The card number to update for a CreditCard or RemoteCreditCard Pay Method. Optional. Only provide if you wish to make an updateOptional
card_expirystringThe expiry date to update for a CreditCard or RemoteCreditCard Pay Method. Format ‘MMYY’ eg 0122. Optional. Only provide if you wish to make an updateOptional
card_startstringThe start date to update for a CreditCard or RemoteCreditCard Pay Method. Format ‘MMYY’ ‘eg’ 0122. Optional. Only provide if you wish to make an updateOptional
card_issue_numberintThe issue_number to update for a CreditCard or RemoteCreditCard Pay Method. Optional. Only provide if you wish to make an updateOptional
bank_namestringThe name of the bank. Optional. Only provide if you wish to make an updateOptional
bank_account_typestringThe type of bank account (checking, credit etc). Optional. Only provide if you wish to make an updateOptional
bank_codestringThe bank code. Also called sort code or routing number. Optional. Only provide if you wish to make an updateOptional
bank_accountstringThe account number. Required for BankAccount type. Optional. Only provide if you wish to make an updateOptional
set_as_defaultboolShould the new Pay Method be the client defaultOptional

Ответы

200:

{"status": "success"}
CODE

Диаграмма действий