Update a customer

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

Update an existing customers details

Path parameters
customerId
stringRequired

The ID of the customer to be updated

Body parameters

Update a customer

Expand All
object
email
string (email)
firstName
string (name)
lastName
string (name)
phone
object
countryCode
string
number
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
401

Unauthorized

403

Forbidden

404

User not found

500

Internal error