Get a customer

Prev Next
Get
/box/customer/v1/customers/{customerId}

Get a customer by ID

Path parameters
customerId
stringRequired

A given customer ID

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

404

Customer not found

500

Internal error