Update a loyalty member
Block or reactivate a card, change its expiry, consent or metadata. Balances cannot be changed here: use Loyalty Actions or a manual adjustment.
Endpoint
PATCH/loyalty-members/:id
Request
Response
json
Returns the updated Loyalty Member object (shortened above).
Body parameters
| Name | Type | Description |
|---|---|---|
status | String | active or blocked. A blocked card cannot earn, redeem or check in. |
expires_at | String | null | ISO 8601 expiry date of the card, or null for no expiry |
marketing_consent | Boolean | Whether the customer accepts marketing messages |
metadata | Object | null | Extra data stored on the card. Replaces the whole object. metadata.birthday (MM-DD) is used for the program birthday_bonus. |
Other fields are read-only. Changing status or expires_at also refreshes the card in Apple Wallet and Google Wallet.
Report an issue with this documentation
Please log in to report issues with our documentation.