Customers
Update a customer
This API let’s you to update a customer’s information using customer_id.
PATCH
/
customers
/
{customer_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
customer_id
string
requiredMaximum length:
50
Body
application/json
Payload to update customer
name
string
Name of the Customer
Required string length:
3 - 255
primaryEmail
string
Primary email of the customer
Maximum length:
320
address
object
billing address of the customer
Response
200 - application/json
Structure of customer
id
string
requiredIdentifier of customer
Maximum length:
50
togaiCustomerId
string
requiredUnique identifier of customer
name
string
requiredName of the Customer
Required string length:
3 - 255
primaryEmail
string
requiredPrimary email of the customer
Maximum length:
320
billingAddress
string
requiredbilling address of the customer
Maximum length:
1000
address
object
requiredbilling address of the customer
status
enum<string>
requiredStatus of the customer
Available options:
ACTIVE
, ARCHIVED
createdAt
string
requiredupdatedAt
string
required