---
updatedAt: 2026-10-29T15:41:23.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Tier Earned

Sent when a customer meets the requirements for a new tier. Use it to congratulate them on their new status.

To receive it, add `swell/tier/earned` to `events` when you [create a filter](ref:create-filter), then [subscribe](ref:create-subscription) the filter to your target. Yotpo sends the event to your target URL as a `POST` with this JSON body.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Yotpo Webhooks",
    "description": "Events Yotpo sends to your webhook URL. Each event is an HTTP POST with a JSON body. To receive them, create a webhook target, a filter and a subscription.",
    "version": "3.0"
  },
  "webhooks": {
    "swell/tier/earned": {
      "post": {
        "operationId": "swell-tier-earned",
        "summary": "Tier Earned",
        "description": "Sent when a customer meets the requirements for a new tier. Use it to congratulate them on their new status.\n\nTo receive it, add `swell/tier/earned` to `events` when you [create a filter](ref:create-filter), then [subscribe](ref:create-subscription) the filter to your target. Yotpo sends the event to your target URL as a `POST` with this JSON body.",
        "security": [],
        "parameters": [
          {
            "name": "X-Yotpo-Webhooks-Event-Type",
            "in": "header",
            "required": true,
            "description": "The event name. Matches `topic` in the body.",
            "schema": {
              "type": "string"
            },
            "example": "swell/tier/earned"
          },
          {
            "$ref": "#/components/parameters/WebhookTenantType"
          },
          {
            "$ref": "#/components/parameters/WebhookTenantId"
          },
          {
            "$ref": "#/components/parameters/WebhookMessageId"
          },
          {
            "$ref": "#/components/parameters/WebhookMessageIdPerTarget"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "topic": {
                    "description": "The event name, `swell/tier/earned`.",
                    "type": "string"
                  },
                  "name": {
                    "description": "The display name of the event.",
                    "type": "string"
                  },
                  "website_url": {
                    "description": "Your store's website URL.",
                    "type": "string"
                  },
                  "store_name": {
                    "description": "Your store's name.",
                    "type": "string"
                  },
                  "email": {
                    "description": "The email address of the customer who earned the new tier.",
                    "type": "string"
                  },
                  "customer": {
                    "type": "object",
                    "properties": {
                      "total_spend_cents": {
                        "description": "Total spend recorded for the customer, in cents.",
                        "type": "integer"
                      },
                      "total_purchases": {
                        "description": "Number of purchases recorded for the customer.",
                        "type": "integer"
                      },
                      "perks_redeemed": {
                        "description": "Number of rewards the customer has redeemed.",
                        "type": "integer"
                      },
                      "last_purchase_at": {
                        "description": "When the customer's last recorded purchase was made, or `null`.",
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time"
                      },
                      "first_name": {
                        "description": "The customer's first name.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "last_name": {
                        "description": "The customer's last name.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "is_member": {
                        "description": "Whether the customer is a loyalty program member.",
                        "type": "boolean"
                      },
                      "accepts_marketing": {
                        "description": "Whether the customer accepts marketing, or `null` when unknown.",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "email": {
                        "description": "The customer's email address.",
                        "type": "string"
                      },
                      "points_balance": {
                        "description": "The points the customer can spend now, after this event.",
                        "type": "integer"
                      },
                      "points_earned": {
                        "description": "Total points the customer has earned over their lifetime.",
                        "type": "integer"
                      },
                      "last_seen_at": {
                        "description": "When Yotpo Loyalty last recorded activity for the customer, or `null`.",
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time"
                      },
                      "thirty_party_id": {
                        "description": "Legacy misspelled duplicate of `third_party_id`. Use `third_party_id`.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "third_party_id": {
                        "description": "The customer's ID in your e-commerce platform.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "referral_link": {
                        "description": "The customer's personal referral link.",
                        "type": "string"
                      },
                      "referral_discount_code": {
                        "description": "The discount code the customer received for being referred, or `null`.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "is_opt_in": {
                        "description": "Whether the customer is opted in to the loyalty program.",
                        "type": "boolean"
                      },
                      "loyalty_opt_in_date": {
                        "description": "The date the customer opted in to the loyalty program, or `null` when they have not.",
                        "type": "string"
                      },
                      "has_store_account": {
                        "description": "Whether the customer has an account in your store.",
                        "type": "boolean"
                      },
                      "credit_balance": {
                        "description": "Store-credit value of the points balance, formatted in your store currency, for example `$0`.",
                        "type": "string"
                      },
                      "credit_balance_in_customer_currency": {
                        "description": "Store-credit value of the points balance, formatted in the customer's currency.",
                        "type": "string"
                      },
                      "is_affiliate": {
                        "description": "Whether the customer is an affiliate.",
                        "type": "boolean"
                      },
                      "points_expire_at": {
                        "description": "When the customer's points expire, or `null` when they never expire. Follows your **Points expiration policy**: **Last Activity** (counted from the customer's last activity), **Date Earned** (the next upcoming expiration across the customer's point batches) or **Never expire** (`null`).",
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time"
                      },
                      "referred_by_customer": {
                        "description": "The email address of the customer who referred this customer, or `null` when there is no referrer.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "vip_tier_name": {
                        "description": "The customer's current VIP tier, or `null` when they aren't in one.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "vip_tier_ends_at": {
                        "description": "When the customer's current VIP tier ends, or `null` when it doesn't expire.",
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "birthday_month": {
                        "description": "The customer's birthday month (1 to 12), or `null` when not set.",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "birth_day": {
                        "description": "The day of the month of the customer's birthday, or `null` when not set.",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "birth_year": {
                        "description": "The customer's birth year, or `null` when not set.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "anniversary_month": {
                        "description": "The customer's anniversary month (1 to 12), or `null` when not set.",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "anniversary_day": {
                        "description": "The day of the month of the customer's anniversary, or `null` when not set.",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "anniversary_year": {
                        "description": "The year of the customer's anniversary, or `null` when not set.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "referral_code": {
                        "$ref": "#/components/schemas/LoyaltyReferralCode",
                        "description": "The customer's referral code and its sharing stats."
                      }
                    },
                    "description": "The customer object who earned the new tier."
                  },
                  "new_tier": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "description": "The tier ID.",
                        "type": "integer"
                      },
                      "merchant_id": {
                        "description": "Your Yotpo Loyalty merchant ID.",
                        "type": "integer"
                      },
                      "name": {
                        "description": "The tier name.",
                        "type": "string"
                      },
                      "description": {
                        "description": "The tier description set in the Loyalty admin.",
                        "type": "string"
                      },
                      "points_multiplier": {
                        "description": "The points multiplier for customers in this tier, as a number or a decimal string, for example `1.5` or `\"1.0\"`.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "currency": {
                        "description": "The currency of the tier's spend amounts, for example `USD`.",
                        "type": "string"
                      },
                      "rank": {
                        "description": "The tier rank. Higher ranks are higher tiers.",
                        "type": "integer"
                      },
                      "redemption_option_id": {
                        "description": "The ID of the reward a customer gets when they enter the tier, or `null`.",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "reward_points": {
                        "description": "Points a customer gets when they enter the tier.",
                        "type": "integer"
                      },
                      "earned_title": {
                        "description": "The history title shown when a customer earns the tier.",
                        "type": "string"
                      },
                      "background_image_id": {
                        "description": "The ID of the tier's background image, or `null`.",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "background_image_url": {
                        "description": "The URL of the tier's background image, or `null`.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "prettyAmountSpent": {
                        "description": "`amount_spent_cents` formatted in your store currency, for example `$250`.",
                        "type": "string"
                      },
                      "multipliedCampaigns": {
                        "description": "The campaigns whose points are multiplied for customers in this tier.",
                        "type": "array",
                        "items": {
                          "type": "integer"
                        }
                      },
                      "regain_points_earned": {
                        "description": "Points needed to get the tier back after losing it.",
                        "type": "integer"
                      },
                      "regain_amount_spent_cents": {
                        "description": "Spend needed to get the tier back after losing it, in cents.",
                        "type": "integer"
                      },
                      "regain_purchases_made": {
                        "description": "Purchases needed to get the tier back after losing it.",
                        "type": "integer"
                      },
                      "regain_referrals_completed": {
                        "description": "Completed referrals needed to get the tier back after losing it.",
                        "type": "integer"
                      },
                      "regain_requirements_needed": {
                        "description": "How many of the requirements a customer must meet to get the tier back: a number, or `all_requirements`.",
                        "type": [
                          "integer",
                          "string"
                        ]
                      },
                      "points_earned": {
                        "description": "Points needed to earn the tier.",
                        "type": "integer"
                      },
                      "amount_spent_cents": {
                        "description": "Spend needed to earn the tier, in cents.",
                        "type": "integer"
                      },
                      "purchases_made": {
                        "description": "Purchases needed to earn the tier.",
                        "type": "integer"
                      },
                      "referrals_completed": {
                        "description": "Completed referrals needed to earn the tier.",
                        "type": "integer"
                      },
                      "requirements_needed": {
                        "description": "How many of the requirements a customer must meet to earn the tier: a number, or `all_requirements`.",
                        "type": [
                          "integer",
                          "string"
                        ]
                      },
                      "retain_points_earned": {
                        "description": "Points needed in the next period to keep the tier.",
                        "type": "integer"
                      },
                      "retain_amount_spent_cents": {
                        "description": "Spend needed in the next period to keep the tier, in cents.",
                        "type": "integer"
                      },
                      "retain_purchases_made": {
                        "description": "Purchases needed in the next period to keep the tier.",
                        "type": "integer"
                      },
                      "retain_referrals_completed": {
                        "description": "Completed referrals needed in the next period to keep the tier.",
                        "type": "integer"
                      },
                      "retain_requirements_needed": {
                        "description": "How many of the requirements a customer must meet to keep the tier: a number, or `all_requirements`.",
                        "type": [
                          "integer",
                          "string"
                        ]
                      },
                      "redemption_option": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "The reward (redemption option) ID.",
                            "type": "integer"
                          },
                          "type": {
                            "description": "The reward type, for example `Coupon`.",
                            "type": "string"
                          },
                          "amount": {
                            "description": "The points the reward costs. `0` for `variable` rewards, where the customer chooses how many points to redeem.",
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "icon": {
                            "description": "The reward image: an image URL or a Font Awesome class name such as `fa-dollar`.",
                            "type": "string"
                          },
                          "discount_amount_cents": {
                            "description": "The discount in cents for fixed-amount rewards.",
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "discount_type": {
                            "description": "How the discount works, for example `fixed_amount`, `percentage`, `variable`, `custom_reward` or `donation`.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "discount_percentage": {
                            "description": "The discount percentage for percentage rewards. `null` or `0` for other types.",
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "cost_text": {
                            "description": "The points cost as display text, for example `500 points`.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "discount_rate_cents": {
                            "description": "For `variable` rewards, the discount in cents for each point redeemed.",
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "applies_to_product_type": {
                            "description": "Which products the reward applies to, for example `ALL`.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "duration": {
                            "description": "How long the reward lasts, for example `single_use`.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "name": {
                            "description": "The reward name, for example `$10 off`.",
                            "type": "string"
                          },
                          "description": {
                            "description": "The reward description shown to customers.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "unrendered_name": {
                            "description": "The reward name as set in the admin, before placeholders are filled in.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "unrendered_description": {
                            "description": "The reward description as set in the admin, before placeholders are filled in.",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "cart_greater_than": {
                            "description": "Minimum cart subtotal for the reward to apply, in store currency units. `\"0\"` means no minimum.",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "description": "The reward a customer gets when they enter the tier, or `null`. Includes more reward settings than are listed here."
                      },
                      "type": {
                        "description": "The tier type, for example `BaseTier`.",
                        "type": "string"
                      }
                    },
                    "description": "Object describing the new tier they just earned."
                  },
                  "tier_change_type": {
                    "description": "How the tier changed, for example `upgrade`.",
                    "type": "string"
                  },
                  "old_tier": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "description": "The tier ID.",
                        "type": "integer"
                      },
                      "merchant_id": {
                        "description": "Your Yotpo Loyalty merchant ID.",
                        "type": "integer"
                      },
                      "name": {
                        "description": "The tier name.",
                        "type": "string"
                      },
                      "description": {
                        "description": "The tier description set in the Loyalty admin.",
                        "type": "string"
                      },
                      "points_multiplier": {
                        "description": "The points multiplier for customers in this tier, as a number or a decimal string, for example `1.5` or `\"1.0\"`.",
                        "type": [
                          "number",
                          "string"
                        ]
                      },
                      "currency": {
                        "description": "The currency of the tier's spend amounts, for example `USD`.",
                        "type": "string"
                      },
                      "rank": {
                        "description": "The tier rank. Higher ranks are higher tiers.",
                        "type": "integer"
                      },
                      "redemption_option_id": {
                        "description": "The ID of the reward a customer gets when they enter the tier, or `null`.",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "reward_points": {
                        "description": "Points a customer gets when they enter the tier.",
                        "type": "integer"
                      },
                      "earned_title": {
                        "description": "The history title shown when a customer earns the tier.",
                        "type": "string"
                      },
                      "background_image_id": {
                        "description": "The ID of the tier's background image, or `null`.",
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "background_image_url": {
                        "description": "The URL of the tier's background image, or `null`.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "prettyAmountSpent": {
                        "description": "`amount_spent_cents` formatted in your store currency, for example `$250`.",
                        "type": "string"
                      },
                      "multipliedCampaigns": {
                        "description": "The campaigns whose points are multiplied for customers in this tier.",
                        "type": "array",
                        "items": {}
                      },
                      "regain_points_earned": {
                        "description": "Points needed to get the tier back after losing it.",
                        "type": "integer"
                      },
                      "regain_amount_spent_cents": {
                        "description": "Spend needed to get the tier back after losing it, in cents.",
                        "type": "integer"
                      },
                      "regain_purchases_made": {
                        "description": "Purchases needed to get the tier back after losing it.",
                        "type": "integer"
                      },
                      "regain_referrals_completed": {
                        "description": "Completed referrals needed to get the tier back after losing it.",
                        "type": "integer"
                      },
                      "regain_requirements_needed": {
                        "description": "How many of the requirements a customer must meet to get the tier back: a number, or `all_requirements`.",
                        "type": [
                          "integer",
                          "string"
                        ]
                      },
                      "points_earned": {
                        "description": "Points needed to earn the tier.",
                        "type": "integer"
                      },
                      "amount_spent_cents": {
                        "description": "Spend needed to earn the tier, in cents.",
                        "type": "integer"
                      },
                      "purchases_made": {
                        "description": "Purchases needed to earn the tier.",
                        "type": "integer"
                      },
                      "referrals_completed": {
                        "description": "Completed referrals needed to earn the tier.",
                        "type": "integer"
                      },
                      "requirements_needed": {
                        "description": "How many of the requirements a customer must meet to earn the tier: a number, or `all_requirements`.",
                        "type": [
                          "integer",
                          "string"
                        ]
                      },
                      "retain_points_earned": {
                        "description": "Points needed in the next period to keep the tier.",
                        "type": "integer"
                      },
                      "retain_amount_spent_cents": {
                        "description": "Spend needed in the next period to keep the tier, in cents.",
                        "type": "integer"
                      },
                      "retain_purchases_made": {
                        "description": "Purchases needed in the next period to keep the tier.",
                        "type": "integer"
                      },
                      "retain_referrals_completed": {
                        "description": "Completed referrals needed in the next period to keep the tier.",
                        "type": "integer"
                      },
                      "retain_requirements_needed": {
                        "description": "How many of the requirements a customer must meet to keep the tier: a number, or `all_requirements`.",
                        "type": [
                          "integer",
                          "string"
                        ]
                      },
                      "redemption_option": {
                        "description": "The reward a customer gets when they enter the tier, or `null`. Includes more reward settings than are listed here.",
                        "type": [
                          "object",
                          "null"
                        ],
                        "nullable": true
                      },
                      "type": {
                        "description": "The tier type, for example `BaseTier`.",
                        "type": "string"
                      }
                    },
                    "description": "Object describing the tier they came from. Attribute won’t be present if they had no previous tier."
                  },
                  "redemption": {
                    "$ref": "#/components/schemas/LoyaltyRedemption",
                    "description": "The redemption."
                  },
                  "redemption_option": {
                    "$ref": "#/components/schemas/LoyaltyRedemptionOption",
                    "description": "The reward (redemption option)."
                  },
                  "published_at": {
                    "description": "When Yotpo sent the event.",
                    "type": "string",
                    "format": "date-time"
                  }
                }
              },
              "example": {
                "topic": "swell/tier/earned",
                "name": "Swell Tier Earned",
                "website_url": "https://example-store.myshopify.com",
                "store_name": "example-store",
                "email": "alex.smith@example.com",
                "customer": {
                  "total_spend_cents": 25821,
                  "total_purchases": 4,
                  "perks_redeemed": 8,
                  "last_purchase_at": "2026-06-23T16:42:03.000Z",
                  "first_name": "Is",
                  "last_name": "Smith",
                  "is_member": false,
                  "accepts_marketing": null,
                  "email": "alex.smith@example.com",
                  "points_balance": 176,
                  "points_earned": 307,
                  "last_seen_at": "2026-06-23T16:43:50.000Z",
                  "thirty_party_id": "1000000000002",
                  "third_party_id": "1000000000002",
                  "referral_link": "rwrd.io/ref_EXAMPLE2",
                  "referral_discount_code": null,
                  "is_opt_in": true,
                  "loyalty_opt_in_date": "2026-03-03",
                  "has_store_account": false,
                  "credit_balance": "$0",
                  "credit_balance_in_customer_currency": "$0",
                  "is_affiliate": false,
                  "points_expire_at": "2027-01-31T23:59:59.000Z",
                  "referred_by_customer": null,
                  "vip_tier_name": "Silver",
                  "vip_tier_ends_at": "2027-06-23",
                  "birthday_month": 6,
                  "birth_day": 24,
                  "birth_year": "",
                  "anniversary_month": 6,
                  "anniversary_day": 24,
                  "anniversary_year": "",
                  "referral_code": {
                    "code": "def5678",
                    "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": "alex.smith@example.com",
                    "unique_clicks": 0,
                    "total_clicks": 0
                  }
                },
                "new_tier": {
                  "id": 13282,
                  "merchant_id": 12345,
                  "name": "Silver",
                  "description": "Silver Tier",
                  "points_multiplier": 1.5,
                  "currency": "USD",
                  "rank": 2,
                  "redemption_option_id": 1074833,
                  "reward_points": 0,
                  "earned_title": "Earned Tier Silver",
                  "background_image_id": null,
                  "background_image_url": null,
                  "prettyAmountSpent": "$250",
                  "multipliedCampaigns": [
                    1168879,
                    1079426,
                    1079426
                  ],
                  "regain_points_earned": 0,
                  "regain_amount_spent_cents": 25000,
                  "regain_purchases_made": 0,
                  "regain_referrals_completed": 0,
                  "regain_requirements_needed": 0,
                  "points_earned": 0,
                  "amount_spent_cents": 25000,
                  "purchases_made": 0,
                  "referrals_completed": 0,
                  "requirements_needed": 0,
                  "retain_points_earned": 0,
                  "retain_amount_spent_cents": 25000,
                  "retain_purchases_made": 0,
                  "retain_referrals_completed": 0,
                  "retain_requirements_needed": 0,
                  "redemption_option": {
                    "id": 1074833,
                    "title": "example-store",
                    "type": "Coupon",
                    "category": null,
                    "amount": 0,
                    "value_cents": 0,
                    "image": "/assets/merchant.png",
                    "icon": "fa-dollar",
                    "currency": "USD",
                    "single_use": true,
                    "discount_amount_cents": 1000,
                    "discount_type": "fixed_amount",
                    "discount_percentage": null,
                    "prefix": "TIER",
                    "charset": "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
                    "code_length": 8,
                    "deleted": false,
                    "display_in_popup": false,
                    "cost_text": "0 points",
                    "reward_intro": "Thanks for redeeming! Here's your coupon code:",
                    "discount_rate_cents": 100,
                    "applies_to_id": null,
                    "applies_to_resource": "all",
                    "applies_once": true,
                    "product_ids": [],
                    "variant_ids": [],
                    "collection_ids": [],
                    "free_shipping_less_than_cents": null,
                    "cart_greater_than_cents": null,
                    "quantity": null,
                    "applies_to_attributes": null,
                    "applies_to_values": null,
                    "applies_to_any_or_all_attributes": "all",
                    "applies_to_product_type": "ALL",
                    "duration": "single_use",
                    "automatically_apply": false,
                    "free_product_cost_cents": null,
                    "custom_coupon_cost_cents": null,
                    "min_amount": null,
                    "max_amount": null,
                    "expires_after": "0",
                    "segment_ids": [],
                    "restrict_to_redeeming_customer": null,
                    "prettyValue": "$0",
                    "prettyDiscount": "$10",
                    "discount_amount": "10",
                    "numRedemptionCodes": 8,
                    "numRedemptions": 8,
                    "numUnusedRedemptionCodes": 0,
                    "usedByActiveCampaign": false,
                    "usedByActiveVipTier": false,
                    "pretty_discount_type": "Fixed amount",
                    "name": "$10",
                    "description": "Get $10.00 off your next purchase for 0 points",
                    "unrendered_name": "$10",
                    "unrendered_description": "Get $10.00 off your next purchase for 0 points",
                    "cart_greater_than": "0",
                    "display_in_admin": false,
                    "merchant": {
                      "platform": "shopify"
                    },
                    "background_image_url": null
                  },
                  "type": "BaseTier"
                },
                "tier_change_type": "upgrade",
                "old_tier": {
                  "id": 17579,
                  "merchant_id": 12345,
                  "name": "Bronze",
                  "description": "Bronze Tier",
                  "points_multiplier": 1,
                  "currency": "USD",
                  "rank": 1,
                  "redemption_option_id": null,
                  "reward_points": 0,
                  "earned_title": "Earned Tier Bronze",
                  "background_image_id": null,
                  "background_image_url": null,
                  "prettyAmountSpent": "$0",
                  "multipliedCampaigns": [],
                  "regain_points_earned": 0,
                  "regain_amount_spent_cents": 0,
                  "regain_purchases_made": 0,
                  "regain_referrals_completed": 0,
                  "regain_requirements_needed": 0,
                  "points_earned": 0,
                  "amount_spent_cents": 0,
                  "purchases_made": 0,
                  "referrals_completed": 0,
                  "requirements_needed": 0,
                  "retain_points_earned": 0,
                  "retain_amount_spent_cents": 0,
                  "retain_purchases_made": 0,
                  "retain_referrals_completed": 0,
                  "retain_requirements_needed": 0,
                  "redemption_option": null,
                  "type": "BaseTier"
                },
                "redemption": {
                  "id": 465141035,
                  "created_at": "2026-06-23T16:43:50.000Z",
                  "updated_at": "2026-06-23T16:43:51.000Z",
                  "reward_text": "TIEREXAMPLE1",
                  "approved": true,
                  "approved_at": "2026-06-23T16:43:51.000Z",
                  "is_admin": false,
                  "is_pos": false,
                  "at_checkout": false,
                  "amount": null,
                  "token": "Yv2EXAMPLEtoken000000000000000000002",
                  "third_party_id": "2000000000002",
                  "third_party_rule_id": "3000000000002",
                  "code": "TIEREXAMPLE1"
                },
                "redemption_option": {
                  "id": 1074833,
                  "icon": "fa-dollar",
                  "cost_text": "0 points",
                  "amount": 0,
                  "applies_to_product_type": "ALL",
                  "duration": "single_use",
                  "type": "Coupon",
                  "discount_amount_cents": 1000,
                  "discount_rate_cents": 100,
                  "discount_percentage": null,
                  "discount_type": "fixed_amount",
                  "discount_value_cents": null,
                  "name": "$10",
                  "description": "Get $10.00 off your next purchase for 0 points",
                  "unrendered_name": "$10",
                  "unrendered_description": "Get $10.00 off your next purchase for 0 points",
                  "cart_greater_than": "0",
                  "discount_with_currency": "$10"
                },
                "published_at": "2026-06-23T16:44:46.012+00:00"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return any 2xx status quickly to acknowledge the event. Without one, Yotpo retries at least 10 times with exponential backoff."
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "WebhookMessageId": {
        "name": "WebhookMessageId",
        "in": "header",
        "required": true,
        "description": "A unique ID for the event.",
        "schema": {
          "type": "string"
        },
        "example": "2f1c7a8e-5b1d-4c39-9a0e-3d7f2b6c1e44"
      },
      "WebhookMessageIdPerTarget": {
        "name": "WebhookMessageIdPerTarget",
        "in": "header",
        "required": true,
        "description": "A unique ID for this delivery to this target. Use it to ignore duplicates.",
        "schema": {
          "type": "string"
        },
        "example": "066c9f28-3e87-45d5-a67e-879d6090d989"
      },
      "WebhookTenantId": {
        "name": "X-Yotpo-Webhooks-Tenant-Id",
        "in": "header",
        "required": true,
        "description": "Your store ID.",
        "schema": {
          "type": "string"
        },
        "example": "YOUR_STORE_ID"
      },
      "WebhookTenantType": {
        "name": "X-Yotpo-Webhooks-Tenant-Type",
        "in": "header",
        "required": true,
        "description": "The kind of account the event belongs to.",
        "schema": {
          "type": "string"
        },
        "example": "store"
      }
    },
    "schemas": {
      "LoyaltyRedemption": {
        "type": "object",
        "properties": {
          "id": {
            "description": "The redemption ID.",
            "type": "integer"
          },
          "created_at": {
            "description": "When the redemption was created.",
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "description": "When the redemption was last updated.",
            "type": "string",
            "format": "date-time"
          },
          "reward_text": {
            "description": "The coupon code the customer received. Rewards without a code show a label instead, such as `Redeemed` or `Donation`.",
            "type": "string"
          },
          "approved": {
            "description": "Whether the redemption is approved.",
            "type": "boolean"
          },
          "approved_at": {
            "description": "When the redemption was approved.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "is_admin": {
            "description": "`true` when the redemption was made from the Yotpo Loyalty admin.",
            "type": "boolean"
          },
          "is_pos": {
            "description": "`true` when the redemption was made at a point of sale.",
            "type": "boolean"
          },
          "at_checkout": {
            "description": "`true` when points are deducted only when the coupon is used at checkout.",
            "type": "boolean"
          },
          "amount": {
            "description": "The points spent, or `null` when the reward was given rather than bought with points.",
            "type": [
              "string",
              "null"
            ]
          },
          "token": {
            "description": "An internal reference for the redemption.",
            "type": "string"
          },
          "third_party_id": {
            "description": "The discount's ID in your e-commerce platform, or `null` for codes you uploaded.",
            "type": [
              "string",
              "null"
            ]
          },
          "third_party_rule_id": {
            "description": "The ID of the discount rule in your e-commerce platform, or `null` for codes you uploaded.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "The coupon code.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "description": "A redemption: the coupon or reward a customer got."
      },
      "LoyaltyRedemptionOption": {
        "type": "object",
        "properties": {
          "id": {
            "description": "The reward (redemption option) ID.",
            "type": "integer"
          },
          "icon": {
            "description": "The reward image: an image URL or a Font Awesome class name such as `fa-dollar`.",
            "type": "string"
          },
          "cost_text": {
            "description": "The points cost as display text, for example `500 points`.",
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "description": "The points the reward costs. `0` for `variable` rewards, where the customer chooses how many points to redeem.",
            "type": [
              "integer",
              "null"
            ]
          },
          "applies_to_product_type": {
            "description": "Which products the reward applies to, for example `ALL`.",
            "type": [
              "string",
              "null"
            ]
          },
          "duration": {
            "description": "How long the reward lasts, for example `single_use`.",
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "description": "The reward type, for example `Coupon`.",
            "type": "string"
          },
          "discount_amount_cents": {
            "description": "The discount in cents for fixed-amount rewards.",
            "type": [
              "integer",
              "null"
            ]
          },
          "discount_rate_cents": {
            "description": "For `variable` rewards, the discount in cents for each point redeemed.",
            "type": [
              "integer",
              "null"
            ]
          },
          "discount_percentage": {
            "description": "The discount percentage for percentage rewards. `null` or `0` for other types.",
            "type": [
              "integer",
              "null"
            ]
          },
          "discount_type": {
            "description": "How the discount works, for example `fixed_amount`, `percentage`, `variable`, `custom_reward` or `donation`.",
            "type": [
              "string",
              "null"
            ]
          },
          "discount_value_cents": {
            "description": "The discount value in cents, or `null`.",
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "description": "The reward name, for example `$10 off`.",
            "type": "string"
          },
          "description": {
            "description": "The reward description shown to customers.",
            "type": [
              "string",
              "null"
            ]
          },
          "unrendered_name": {
            "description": "The reward name as set in the admin, before placeholders are filled in.",
            "type": [
              "string",
              "null"
            ]
          },
          "unrendered_description": {
            "description": "The reward description as set in the admin, before placeholders are filled in.",
            "type": [
              "string",
              "null"
            ]
          },
          "cart_greater_than": {
            "description": "Minimum cart subtotal for the reward to apply, in store currency units. `\"0\"` means no minimum.",
            "type": [
              "string",
              "null"
            ]
          },
          "discount_with_currency": {
            "description": "The discount formatted in your store currency, for example `$10`.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "description": "A reward (redemption option)."
      },
      "LoyaltyReferralCode": {
        "type": "object",
        "properties": {
          "code": {
            "description": "The referral code.",
            "type": "string"
          },
          "shares": {
            "description": "Total shares.",
            "type": "integer"
          },
          "facebook_shares": {
            "description": "Shares on Facebook.",
            "type": "integer"
          },
          "twitter_shares": {
            "description": "Shares on Twitter.",
            "type": "integer"
          },
          "email_shares": {
            "description": "Shares by email.",
            "type": "integer"
          },
          "emails_sent": {
            "description": "Referral emails sent.",
            "type": "integer"
          },
          "emails_viewed": {
            "description": "Referral emails opened.",
            "type": "integer"
          },
          "links_clicked_from_email": {
            "description": "Link clicks from email.",
            "type": "integer"
          },
          "links_clicked_from_twitter": {
            "description": "Link clicks from Twitter.",
            "type": "integer"
          },
          "links_clicked_from_facebook": {
            "description": "Link clicks from Facebook.",
            "type": "integer"
          },
          "orders": {
            "description": "Orders placed through the referral link.",
            "type": "integer"
          },
          "amount_cents": {
            "description": "Total value of referred orders, in cents.",
            "type": "integer"
          },
          "average_amount_cents": {
            "description": "Average value of referred orders, in cents.",
            "type": "integer"
          },
          "expires_at": {
            "description": "When the code expires, or `null` when it never expires.",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "expired": {
            "description": "Whether the code has expired.",
            "type": "boolean"
          },
          "completed_referral_customers": {
            "type": "array",
            "description": "The friends who completed a referral with this code.",
            "items": {
              "type": "object"
            }
          },
          "email": {
            "description": "The referring customer's email address.",
            "type": "string"
          },
          "unique_clicks": {
            "description": "Unique link clicks.",
            "type": "integer"
          },
          "total_clicks": {
            "description": "Total link clicks.",
            "type": "integer"
          }
        },
        "description": "A customer's referral code and its sharing stats."
      }
    }
  }
}
```

# Sibling pages

* [Coupon Earned](https://docs.yotpo.com/reference/swell-redemption-created.md)
* [Custom Reward Redeemed](https://docs.yotpo.com/reference/loyalty-custom-reward-created.md)
* [Customer Birthday](https://docs.yotpo.com/reference/swell-customer-birthday.md)
* [Customer Birthday Captured](https://docs.yotpo.com/reference/swell-birthday-captured.md)
* [Customer Anniversary](https://docs.yotpo.com/reference/swell-customer-anniversary.md)
* [Customer Anniversary Captured](https://docs.yotpo.com/reference/swell-anniversary-captured.md)
* [Donation Created](https://docs.yotpo.com/reference/loyalty-donation-created.md)
* [Account Created](https://docs.yotpo.com/reference/swell-account-created.md)
* [Loyalty Opt In](https://docs.yotpo.com/reference/loyalty-opt-in.md)
* [Loyalty Opt Out](https://docs.yotpo.com/reference/loyalty-opt-out.md)
* [Points Changed](https://docs.yotpo.com/reference/swell-points-changed.md)
* [Points Earned](https://docs.yotpo.com/reference/swell-points-earned.md)
* [Points Reminder](https://docs.yotpo.com/reference/swell-points-reminder.md)
* [Points Expiration Reminder](https://docs.yotpo.com/reference/loyalty-expiration-reminder.md)
* [Redemption Below Threshold](https://docs.yotpo.com/reference/swell-redemption-code-below-threshold.md)
* [Redemption Cancellation Request](https://docs.yotpo.com/reference/swell-point-redemption-cancellation-request.md)
* [Redemption Reminder](https://docs.yotpo.com/reference/swell-redemption-reminder.md)
* [Referral Link Share](https://docs.yotpo.com/reference/swell-referral-share.md)
* [Referral Link Share (2.0)](https://docs.yotpo.com/reference/yotpo-referral-shared.md)
* [Referral Share Reminder](https://docs.yotpo.com/reference/swell-referral-share-reminder.md)
* [Referral Product Share Link](https://docs.yotpo.com/reference/loyalty-referral-product-share.md)
* [Referral Product Share Reminder](https://docs.yotpo.com/reference/loyalty-referral-product-share-reminder.md)
* [Referral Completed](https://docs.yotpo.com/reference/swell-referral-completed.md)
* [Referral Completed (2.0)](https://docs.yotpo.com/reference/yotpo-referral-completed.md)
* [Tier Lost](https://docs.yotpo.com/reference/swell-tier-lost.md)
* [Tier Status Changed](https://docs.yotpo.com/reference/swell-tier-status-changed.md)
* [Tier Expiration Reminder](https://docs.yotpo.com/reference/yotpo-tier-expiration-reminder.md)
* [CommerceCloud Integration Disabled](https://docs.yotpo.com/reference/loyalty-integrations-integration-disabled.md)