Customers
Update a customer
Update customer fields. Only provided fields will be changed.
patch/api/customers/{id}
Path parameters
idstring required
Customer ID
Request body
Example request
{
"externalId": "user_12345",
"email": "customer@example.com",
"name": "Jane Doe",
"country": "NG",
"currency": "NGN",
"netPaymentTerms": 30
}Response
Customer updated successfully
Example response
{
"id": "clx1234567890",
"externalId": "user_12345",
"email": "customer@example.com",
"name": "Jane Doe",
"country": "US",
"currency": "USD"
}