POST
/
customers

Authorizations

Authorization
string
headerrequired

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

Body

application/json
emailAddress
string
required

The primary email address of the customer.

firstName
string | null

The first name of the customer.

lastName
string | null

The last name of the customer.

phoneNumber
string | null

The phone number of the customer. Must include the country code.

address
object

The address of the customer.

shippingAddress
object

The shipping address of the customer.

metadata
object

Additional metadata for the customer.

locale
enum<string>

The locale preference of the customer.

Available options:
en_US,
fr_FR
clientReferenceId
string

Unique string of your choice to reconcile with your internal system.

Response

200 - application/json
emailAddress
string
required

The primary email address of the customer.

firstName
string | null

The first name of the customer.

lastName
string | null

The last name of the customer.

phoneNumber
string | null

The phone number of the customer. Must include the country code.

address
object

The address of the customer.

shippingAddress
object

The shipping address of the customer.

metadata
object

Additional metadata for the customer.

locale
enum<string>

The locale preference of the customer.

Available options:
en_US,
fr_FR
clientReferenceId
string

Unique string of your choice to reconcile with your internal system.