Delete a loyalty member
Delete a loyalty card. This is a soft delete: the card gets deleted_at, no longer appears in list or get, and stops working. To stop a card temporarily, block it with "status": "blocked" instead.
Endpoint
DELETE/loyalty-members/:id
Request
Response
Returns the deleted loyalty member with deleted_at set (and contact, tier, program, card_url).
json
(Shortened: the response contains every field of the member object.)
Side effects
- The card is set to
blocked(after the response is built, so the response still shows the previousstatus) and its Apple Wallet and Google Wallet passes are refreshed so they stop working. - The program
member_countgoes down by one. - The card's transactions are kept and still listed.
Report an issue with this documentation
Please log in to report issues with our documentation.