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
id
string
requiredCustomer identifier
name
string
requiredName of the Customer
primaryEmail
string
requiredPrimary email of the customer
address
object
requiredbilling address of the customer
settings
object[]
account
object
Payload to create account
Response
201 - application/json
id
string
requiredIdentifier of customer
togaiCustomerId
string
requiredUnique identifier of customer
name
string
requiredName of the Customer
primaryEmail
string
requiredPrimary email of the customer
billingAddress
string
address
object
billing address of the customer
settings
object[]
account
object
Structure of an account