Payload fields
Store-credit shops
On store-credit shops,points_redeemed and points_balance are minor currency units, and data carries loyalty_mode (store_credit), currency, and major-unit decimal-string companions credit_redeemed and credit_balance. Points-mode payloads do not include these fields. See Loyalty modes.
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