POST
/
customers

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payload to create customer

id
string
required

Customer identifier

Maximum length: 50
name
string
required

Name of the Customer

Required string length: 3 - 255
primaryEmail
string
required

Primary email of the customer

Maximum length: 320
address
object
required

billing address of the customer

settings
object[]
account
object

Payload to create account

Response

201 - application/json
id
string
required

Identifier of customer

Maximum length: 50
togaiCustomerId
string
required

Unique identifier of customer

name
string
required

Name of the Customer

Required string length: 3 - 255
primaryEmail
string
required

Primary email of the customer

Maximum length: 320
billingAddress
string
address
object

billing address of the customer

settings
object[]
account
object

Structure of an account