PUT
/
customers
/
{id}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
integer
required

Customer ID.

Body

application/json
firstname
string
required

Customer's first name.

lastname
string
required

Customer's last name.

email
string

Customer's email address.

phone_number
object

Customer's phone number.

Response

200 - application/json
id
integer

Customer ID.

firstname
string

Customer's first name.

lastname
string

Customer's last name.

full_name
string

Customer's full name.

email
string

Customer's email address.

account_id
integer

ID of the customer's account.

phone_number_id
integer

ID of the customer's phone number.

created_at
string

Date and time of customer creation.

updated_at
string

Date and time of last customer update.

deleted_at
string

Date and time of customer deletion (if applicable).