This event is triggered any time a customer redeems their points for a custom reward redemption, or when they are awarded a custom reward when completing a campaign
Note
The Custom Reward event does not include a "coupon code" since the redemption does not generate a coupon code - as such, the reward text will always say "Redeemed"
Important Attributes | Description |
---|---|
email | The email address of the customer who redeemed points for a custom reward |
redemption_option.name | The name of the redemption option |
{
"topic": "loyalty/custom/reward/created",
"name": "Loyalty Custom Reward Created",
"redemption": {
"id": 1,
"created_at": "2016-10-15T15:56:01.692Z",
"updated_at": "2016-10-15T15:56:01.692Z",
"reward_text": "Redeemed",
"approved": true,
"approved_at": "2016-10-15T15:56:01.734Z",
"is_admin": false,
"is_pos": false,
"at_checkout": false
},
"redemption_option": {
"id": 149,
"name": "$10 Donation",
"description": "Get $5.00 off your next purchase for 500 points",
"icon": "fa-dollar",
"cost_text": "500 Points",
"amount": 500
},
"email": "[email protected]",
"customer": {
"total_spend_cents": 0,
"total_purchases": 0,
"perks_redeemed": 2,
"last_purchase_at": null,
"email": "[email protected]",
"referred_by": "[email protected]",
"points_earned": 5200,
"points_balance": 4700,
"points_expire_at": null,
"first_name": "John",
"last_name": "Smith",
"last_seen_at": "2016-10-15T15:54:43.000Z",
"third_party_id": "4302977345",
"referral_code": {
"code": "117yu4g",
"shares": 0,
"facebook_shares": 0,
"twitter_shares": 0,
"email_shares": 0,
"emails_sent": 0,
"emails_viewed": 0,
"links_clicked_from_email": 0,
"links_clicked_from_twitter": 0,
"links_clicked_from_facebook": 0,
"orders": 0,
"amount_cents": 0,
"average_amount_cents": 0,
"expires_at": null,
"expired": false,
"completed_referral_customers": [],
"email": "[email protected]",
"unique_clicks": 0,
"total_clicks": 0
}
}
}