Skip to main content
POST
Create a customer

Authorizations

Authorization
string
header
required

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

Body

application/json

Payload to create customer

Payload to create customer

id
string
required

Customer identifier

Maximum string length: 50
Example:

"01BX5ZZKBKACTAV9WEVGEMMVRZ"

name
string
required

Name of the Customer

Required string length: 3 - 255
Example:

"ACME Enterprise"

primaryEmail
string
required

Primary email of the customer

Maximum string length: 320
Example:

"admin@example.com"

address
object
required

billing address of the customer

settings
object[]
Maximum array length: 10
account
object

Payload to create account

Response

Response for Create customer request

id
string
required

Identifier of customer

Maximum string 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 string length: 320
billingAddress
string
address
object

billing address of the customer

settings
object[]
Maximum array length: 10
account
object

Structure of an account