Update a customer
Customers
Update a customer
Update editable fields on a customer.
PUT
Update a customer
Update editable fields on a customer. TheDocumentation Index
Fetch the complete documentation index at: https://developers.mageloyalty.com/llms.txt
Use this file to discover all available pages before exploring further.
identifier can be a Shopify customer ID or email.
Supports both JSON:API and flat request body formats.
Request body
| Field | Type | Description |
|---|---|---|
date_of_birth | string | null | ISO 8601 date. Pass null to clear. |
is_excluded | boolean | Whether the customer is excluded from the loyalty program |
anniversary_date | string | null | ISO 8601 date. Pass null to clear. |
Response
Returns the updated customer object.Errors
| Status | Scenario |
|---|---|
400 | Invalid request body |
404 | Customer not found |