VIP Tier Status Changed

This event is triggered when a customer gets closer or farther from retaining their current tier, and from entering the next tier.

Important Attributes

Description

email

The email address of the customer who's VIP status changed.

customer

The customer whose VIP status changed.

vip_stats

Object reflecting the customer's accumulations towards earning a tier:

  • Points Earned
  • Amount Spent (in cents)
  • How many purchases the customer made
  • How many referrals were completed

vip_stats_needed_maintain

Object conveying how much is needed for the customer to maintain their current tier.

vip_stats_needed_next

Object conveying how much is needed for the customer to obtain the next tier.

{
   "topic":"swell/tier/status/changed",
   "name":"Swell Tier Status Changed",
   "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":375,
      "points_balance":375,
      "points_expire_at":null,
      "first_name":null,
      "last_name":null,
      "last_seen_at":"2016-10-15T18:14:56.000Z",
      "third_party_id":"4302977345",
      "vip_tier_name":"SILVER",
      "vip_tier_ends_at":"2017-10-31",
      "referral_code":{
         "code":"x09u052",
         "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":1,
         "amount_cents":3000,
         "average_amount_cents":3000,
         "expires_at":null,
         "expired":false,
         "completed_referral_customers":[
            {
               "email":"[email protected]",
               "first_name":"Hillary",
               "last_name":"Swanson",
               "referral_points_contributed":0,
               "last_seen_at":"2016-10-15T16:38:20.000Z"
            }
         ],
         "email":"[email protected]",
         "unique_clicks":1,
         "total_clicks":1
      }
   },
   "vip_stats":{
      "pointsEarned":0,
      "amountSpentCents":500,
      "purchasesMade":0,
      "referralsCompleted":0
   },
   "vip_stats_needed_maintain":{
      "points_needed":0,
      "amount_cents_needed":0,
      "purchases_needed":0,
      "referrals_needed":0
   },
   "vip_stats_needed_next":{
      "points_needed":0,
      "amount_cents_needed":0,
      "purchases_needed":0,
      "referrals_needed":0
   }
}