Payload fields
| Field | Type | Description |
|---|---|---|
shopify_customer_id | string | The customer’s Shopify customer ID |
email | string | null | The customer’s email address |
points_earned | integer | Number of points earned in this event |
points_balance | integer | The customer’s total available points after this event |
lifetime_points | integer | The customer’s all-time total earned points |
source | string | How the points were earned (e.g. earning_rule, manual, referral) |
earning_rule_name | string | null | Name of the earning rule, if applicable |
order_number | string | null | Shopify order number, if the points were earned from a purchase |
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 Klaviyo, HubSpot, or another marketing platform