Payload fields
Store-credit shops
On store-credit shops, the point values above are minor currency units, anddata carries three extra fields: loyalty_mode (store_credit), currency, and major-unit decimal-string companions credit_earned and credit_balance. Points-mode payloads do not include these fields. See Loyalty modes.
Example payload
Common use cases
- Sync points to an external CRM or data warehouse
- Trigger a personalised email or SMS when a customer hits a milestone (e.g. 1000 lifetime points)
- Display a real-time notification on your storefront
- Update a customer profile in your CRM or marketing platform