Update customer loyalty status
Changed onUpdates the loyalty program status for the authenticated customer. Allows customers to opt-in, opt-out, or exclude themselves from the loyalty program. Status changes are logged in the activity log with appropriate event types (CUSTOMER_EXCLUDED, CUSTOMER_INCLUDED). When a customer is excluded, they stop earning points but retain existing points and rewards.
Request
- Base URLhttps://your-store.myshopify.com/apps
- URLhttps://your-store.myshopify.com/apps/loyalty/cp/api/update-customer-status
- Authnone declared
Request body
Example request
{
"customerId": 0,
"dob": "2026-01-12",
"dobYearProvided": true,
"status": "ACTIVE"
}Response
Customer status updated successfully
Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking