This event is triggered when a customer set their anniversary through your storefront.
{
"topic": "swell/anniversary/captured",
"name": "Swell Anniversary Captured",
"email": "[email protected]",
"customer": {
"total_spend_cents": 33000,
"total_purchases": 5,
"perks_redeemed": 7,
"last_purchase_at": "2020-08-03T16:58:44.000Z",
"email": "[email protected]",
"referred_by": "[email protected]",
"points_earned": 4050,
"points_balance": 4050,
"points_expire_at": "2021-01-30T16:58:44.000Z",
"first_name": "John",
"last_name": "Doe",
"is_member": true,
"accepts_marketing": false,
"last_seen_at": "2020-08-03T16:58:44.000Z",
"thirty_party_id": "3755023171721",
"third_party_id": "3755023171721",
"referral_link": "http://rwrd.io/xm2nxle",
"referral_discount_code": null,
"is_opt_in": true,
"loyalty_opt_in_date": "2020-08-03",
"has_store_account": true,
"credit_balance": "€0",
"is_affiliate": false,
"vip_tier_name": "Gold",
"vip_tier_ends_at": "2021-08-03",
"anniversary_month": 1,
"anniversary_day": 1,
"anniversary_year": "",
"referral_code": {
"code": "xm2nxle",
"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
}
}
}