Customers
Create a customer
This API let’s you to create customers and corresponding accounts.
POST
/
customers
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Payload to create customer
id
string
requiredCustomer identifier
Maximum length:
50
name
string
requiredName of the Customer
Required string length:
3 - 255
primaryEmail
string
requiredPrimary email of the customer
Maximum length:
320
address
object
requiredbilling address of the customer
settings
object[]
account
object
Payload to create account
Response
201 - application/json
id
string
requiredIdentifier of customer
Maximum length:
50
togaiCustomerId
string
requiredUnique identifier of customer
name
string
requiredName of the Customer
Required string length:
3 - 255
primaryEmail
string
requiredPrimary email of the customer
Maximum length:
320
billingAddress
string
address
object
billing address of the customer
settings
object[]
account
object
Structure of an account