Update Customer Activation
Set a customer's loyalty program participation state (active/inactive). This mirrors the include/exclude toggle in the Gameball dashboard.
The endpoint is idempotent: opting out an already opted-out customer (or opting in an already opted-in customer) produces no side effects. stateChanged indicates whether the state actually changed.
When a customer is opted out (isActive: false): no points are earned from events or purchases, no rewards or coupons are generated, and the customer is excluded from all campaign eligibility. Prior activity is not undone.
Security: Requires apiKey header. secretKey is required on v4.1; on v4.0 required when High Security Mode is enabled.
Requires an existing customer. Unknown customers return 404 Not Found.
Path parameters
The customer's unique external identifier in your system.
Request body
Response
Customer activation state updated (or already in the requested state)
Example response
{
"customerId": "cust-12345",
"stateChanged": true
}