Fired when a customer successfully redeems points for a reward. At this point the points have been deducted and a discount code has been generated.Documentation Index
Fetch the complete documentation index at: https://developers.mageloyalty.com/llms.txt
Use this file to discover all available pages before exploring further.
Payload fields
| Field | Type | Description |
|---|---|---|
shopify_customer_id | string | The customer’s Shopify customer ID |
email | string | null | The customer’s email address |
points_redeemed | integer | Number of points spent on this redemption |
points_balance | integer | The customer’s remaining available points after this redemption |
reward_name | string | Name of the reward that was redeemed |
reward_id | string | null | Internal Mage Loyalty reward ID |
discount_code | string | null | The Shopify discount code generated for this redemption |
Example payload
Common use cases
- Send a follow-up email reminding the customer to use their discount code
- Log redemptions in an external analytics or BI tool
- Trigger a congratulatory push notification
- Sync discount code data to a fulfilment or ERP system