Triggered when a customer reward is about to expire in 3 days
Event Type
notification/reward_expiry_last_chance
Webhook Payload
{
"id": 123,
"points_amount": 1000,
"credits_amount": 10.0,
"reward_id": 456,
"applied_at": "2024-01-15T10:30:00Z",
"name": "Welcome Bonus",
"code": "WELCOME2024",
"expires_at": "2025-01-15T10:30:00Z",
"used_at": null,
"refunded_at": null,
"source": "points",
"referred_email": "[email protected]",
"shop_id": 789,
"shopify_domain": "mystore.myshopify.com",
"event_type": "notification/reward_expiry_warning",
"reward": {
"id": 456,
"name": "Welcome Bonus",
"enabled": true,
"points_amount": 1000,
"points_type": "points",
"reward_type": "signup",
"source": "signup",
"pretty_display_rewards": "Welcome Bonus (1,000 points required)",
"icon_url": "https://example.com/icon.png",
"pretty_points_amount": "1,000",
"purchase_type": "one_time",
"recurring_cycle_limit": null,
"min_order_quantity": null
},
"customer": {
"id": "customer_123",
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"dob": "01-01",
"accepts_marketing": true,
"orders_count": 5,
"verified_email": true,
"total_spent": 250.00,
"shopify_tags": [],
"loyalty_status": "member",
"points_tally": 1500,
"credits_tally": 15.0,
"shop_id": 789,
"shopify_domain": "mystore.myshopify.com",
"dob_last_updated_at": "2024-01-01T00:00:00Z",
"loyalty_status_last_changed_at": "2024-01-15T10:30:00Z",
"referral_url": "https://mystore.com/ref/ABC123",
"referral_code": "ABC123",
"vip_tier": {
"id": 1,
"name": "Gold",
},
"points_expire_at": "December 31, 2024",
"remote_updated_at": "2024-01-15T10:30:00Z"
}
}
Payload Fields
Field | Type | Description |
---|---|---|
id | Integer | Unique ID of the reward purchase resource |
event_type | String | Webhook identifier (notification/reward_expiry_warning ) |