This event is triggered when a customer's points are about to expire This is great for sending an email to remind the customer that they should use their points while still available. The Points Reminder events will be triggered each day at 5 pm UTC
Important Attributes | Description |
---|---|
email | The email address of the customer who made the referral |
loyalty_next_points_expire_on | The date when the points will expire |
loyalty_next_points_expire_amount | The number of points that are about to expire |
days_to_point_expiration | The number of days left before the points will expire and will no longer be available to the customer |
{
"topic": "loyalty/expiration/reminder",
"name": "Loyalty Expiration Reminder",
"website_url": "http://yotpo.myshopify.com",
"store_name": "Yotpo",
"email": "[email protected]",
"customer": {
"total_spend_cents": 0,
"total_purchases": 0,
"perks_redeemed": 2,
"last_purchase_at": null,
"first_name": "John",
"last_name": "Smith",
"is_member": true,
"accepts_marketing": false,
"email": "[email protected]",
"points_balance": 100,
"points_earned": 100,
"last_seen_at": "2022-03-12T20:40:32.000Z",
"thirty_party_id": "3798152839268",
"third_party_id": "3798152839268",
"referral_link": "http://rwrd.io/y6nz1a6",
"referral_discount_code": null,
"is_opt_in": true,
"loyalty_opt_in_date": "2020-10-15",
"has_store_account": true,
"credit_balance": "$0",
"credit_balance_in_customer_currency": "$0",
"is_affiliate": false,
"points_expire_at": "2023-08-15T07:33:17.000Z",
"referred_by_customer": null,
"referral_code": {
"code": "y6nz1a6",
"shares": 3,
"facebook_shares": 0,
"twitter_shares": 0,
"email_shares": 2,
"emails_sent": 0,
"emails_viewed": 0,
"links_clicked_from_email": 0,
"links_clicked_from_twitter": 0,
"links_clicked_from_facebook": 0,
"orders": 1,
"amount_cents": 175915,
"average_amount_cents": 175915,
"expires_at": null,
"expired": false,
"completed_referral_customers": [
{
"email": "[email protected]",
"first_name": "demo2",
"last_name": "demo2",
"referral_points_contributed": 0,
"last_seen_at": "2022-03-12T20:38:29.000Z"
}
],
"email": "[email protected]",
"unique_clicks": 2,
"total_clicks": 5
}
},
"loyalty_next_points_expire_on": "2023-08-25",
"loyalty_next_points_expire_amount": 100,
"days_to_point_expiration": 30,
"timestamp": 1690360527923
}
Please note:
The reminder will always be for the closest point expiration date.