Customers
Update a customer
Update the details of an existing customer using their ID.
PUT
/
customers
/
{id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
integer
requiredCustomer ID.
Body
application/json
firstname
string
requiredCustomer's first name.
lastname
string
requiredCustomer'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).