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"
}Changes
Changed in 1 of the 2 revisions of this API.3
- ○
added the new optional request property
createdAtnew-optional-request-property
- ○
added the new optional request property
netPaymentTermsnew-optional-request-property
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ○