customers/tier_entry_reward_earned

Triggered when a customer is rewarded an entry reward for entering a tier.

This topic contains information needed to create discounts on your e-commerce store when a customer is rewarded with a loyalty tier entry reward.

📘

Please Note

This topic is potentially required! If you are using tier entry rewards, you need to subscribe to this topic in order to know about the discount codes we have created so you can create discounts with the identical code, allowing customers to use this code at checkout.

Topic

customers/tier_entry_reward_earned

Webhook body

{
    "customer": {
        "id": string,
        "externalId": string,
        "email": string,
        "name": string,
        "birthdayMonth": integer,
        "birthdayDay": integer,
        "referralUrl": string,
        "pointBalance": integer,
        "currentLoyaltyTier": {
            "id": string,
            "title": string
        },
        "createdAt": date,
        "updatedAt": date
    },
    "reward": {
      id: string,
      couponCode: string,
      loyaltyTierId: string,
      type: 'amountdiscount'| 'freeshipping' | 'percentageoff' | 'points',
      fixedAmountValue: string,
      percentageValue: string,
      points: number,
      title: string,
    }
}