Create a customer

Prev Next
Post
/box/customer/v1/customers

Create a customer with a given payload

Body parameters

Create a customer

Expand All
object
email
string (email)
firstName
string (name)
lastName
string (name)
phone
object
countryCode
string
number
string
addresses
Array of object (1.0.11_AddressCreate)
object
line1
string
line2
string
city
string
province
string
zipcode
string
country
string
Responses
200

Successful operation

Expand All
object
data
object (1.0.11_BaseCustomer)
type
string
Valid values[ "CUSTOMER" ]
id
string (uuid)
email
string (email)
firstName
string (name)
lastName
string (name)
createdAt
string (date-time)
updatedAt
string (date-time)
phone
object
countryCode
string
number
string
addresses
Array of object (1.0.11_Address)
object
id
string (uuid)
type
string
Valid values[ "ADDRESS" ]
createdAt
string (date-time)
updatedAt
string (date-time)
line1
string
line2
string
city
string
province
string
zipcode
string
country
string
400

Invalid format

401

Unauthorized

403

Forbidden

500

Internal error