Update a customer
dont_email/dont_sms are writable (opt-out only, same semantics as the admin PATCH).
do_not_sell_share is read-only; naming it in the request body is refused with 400 (the schema is strict and does not accept it). on_account_limit is refused the same way; on-account sales are not built yet, though a response still carries the field.
Requires scope: customers:write
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”object
Examplegenerated
{ "address_1": "example", "address_2": "example", "city": "example", "company_name": "example", "country": "example", "custom_field_1": "example", "custom_field_2": "example", "custom_field_3": "example", "custom_field_4": "example", "customer_code": "example", "customer_group_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "date_of_birth": "example", "dont_email": true, "dont_sms": true, "email": "hello@example.com", "enable_loyalty": true, "first_name": "example", "gender": "example", "last_name": "example", "mobile": "example", "note": "example", "phone": "example", "state": "example", "tax_id": "example", "website": "example", "zipcode": "example"}Responses
Section titled “Responses”Update a customer
object
object
YYYY-MM-DD, or null.
Read-only. Set only through the admin UI or a DSAR request, never through this API.
True for the retailer’s single system walk-in customer.
The customer’s account credit limit. Integer minor units (cents).
Opaque delta-sync version. Increases with every change; use it to detect updates.
Examplegenerated
{ "data": { "address_1": "example", "address_2": "example", "city": "example", "company_name": "example", "country": "example", "created_at": "2026-04-15T12:00:00Z", "custom_field_1": "example", "custom_field_2": "example", "custom_field_3": "example", "custom_field_4": "example", "customer_code": "example", "customer_group_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "date_of_birth": "example", "do_not_sell_share": true, "dont_email": true, "dont_sms": true, "email": "example", "enable_loyalty": true, "first_name": "example", "gender": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "is_walk_in": true, "last_name": "example", "mobile": "example", "note": "example", "on_account_limit": 1, "phone": "example", "state": "example", "tax_id": "example", "updated_at": "2026-04-15T12:00:00Z", "version": "example", "website": "example", "zipcode": "example" }}default
Section titled “default”An error response.
object
object
A machine-readable error code, e.g. VALIDATION_FAILED.
object
A plain-English sentence describing what went wrong.
Example
{ "error": { "code": "UNAUTHORIZED" }}