v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Loyalty

Delete Loyalty Program Customer

Delete Loyalty Program Customer

Soft-deletes a customer from a loyalty program. The customer document is retained for the GDPR retention period (30 days) before being hard-deleted by the background processor (SWE-376). Related operational data (pass, events) is cleaned up immediately.

Path Parameters:

  • programId: UUID of the loyalty program
  • customerId: UUID of the customer

Returns:

  • HTTP 202 Accepted with a deletion timeline (softDeletedAt, hardDeleteAfter, status).
delete/v2/loyalty/programs/{programId}/customers/{customerId}

Path parameters

string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593
string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593

Headers

authorizationstring nullable

Response

Successful Response

{"stackTrail":"paths:/v2/loyalty/programs/{programId}/customers/{customerId}:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}