> ## Documentation Index
> Fetch the complete documentation index at: https://developers.mageloyalty.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getShopVipTiers

> List all VIP tiers configured for the shop.

Retrieve all VIP tiers for the shop, including their requirements and point multipliers.

## Usage

```javascript theme={null}
MageSDK.getShopVipTiers().then(function(resp) {
  if (resp.success) {
    resp.data.tiers.forEach(function(tier) {
      console.log(tier.name, tier.threshold);
    });
  }
});
```

## Response

**success** `boolean`

Whether the request was successful.

**data.tiers** `array`

List of VIP tiers ordered by threshold.

**Tier properties**

**id** `string`

The tier ID.

**name** `string`

Display name of the tier.

**description** `string | null`

Description of the tier, or `null` if not set.

**threshold** `number`

The tier ranking value, mirroring the requirement for the shop's primary entry method.

**thresholdPoints** `number | null`

Points requirement, set when points is a primary or extra entry criterion.

**thresholdSpend** `number | null`

Spend requirement, set when spend is a primary or extra entry criterion.

**thresholdOrders** `number | null`

Orders requirement, set when orders is a primary or extra entry criterion.

**pointsMultiplier** `number`

Points earning multiplier for this tier.

**badgeImageUrl** `string | null`

URL of the tier badge image, or `null` if not set.

**badgeColor** `string | null`

Hex color code for the tier badge, or `null` if not set.

**rewards** `array`

Active rewards associated with this tier.

**Reward properties**

**id** `string`

The reward ID.

**name** `string`

Display name of the reward.

**discountType** `string | null`

Type of discount applied.

**pointsCost** `number`

Cost to redeem, in the shop's loyalty unit.

**discountAmount** `number | null`

The discount amount.

**isActive** `boolean`

Whether the reward is currently active.

**isEntryReward** `boolean`

Whether this reward is granted automatically on reaching the tier.

**expiryDays** `number | null`

Number of days before the reward expires, or `null` if it does not expire.

**data.entryMethod** `string`

How customers qualify for tiers (e.g. `"points"`, `"spend"`, `"orders"`).

**data.entryMethodExtra** `string | null`

A second entry method when the shop combines two criteria, or `null`.

**data.entryLogic** `string`

`"AND"` or `"OR"`, describing how `entryMethod` and `entryMethodExtra` combine.

**data.currencySymbol** `string`

The shop's currency symbol.

**data.pointsMultiplierMode** `string | null`

The multiplier mode, or `null` if not configured.

**data.loyaltyMode** `string`

`"points"` or `"store_credit"`. See [Loyalty modes](https://developers.mageloyalty.com/js-sdk/loyalty-modes.md).

**data.currency** `string | null`

The shop's ISO currency code, or `null`.

## Sample response

```json theme={null}
{
  "success": true,
  "data": {
    "tiers": [
      {
        "id": "tier_bronze",
        "name": "Bronze",
        "description": "Welcome to the loyalty program!",
        "threshold": 0,
        "thresholdPoints": 0,
        "thresholdSpend": null,
        "thresholdOrders": null,
        "pointsMultiplier": 1.0,
        "badgeImageUrl": null,
        "badgeColor": "#CD7F32",
        "rewards": []
      },
      {
        "id": "tier_gold",
        "name": "Gold",
        "description": "Our most valued customers",
        "threshold": 500,
        "thresholdPoints": 500,
        "thresholdSpend": null,
        "thresholdOrders": null,
        "pointsMultiplier": 1.5,
        "badgeImageUrl": null,
        "badgeColor": "#FFD700",
        "rewards": [
          {
            "id": "reward_gold_1",
            "name": "Free shipping",
            "discountType": "free_shipping",
            "pointsCost": 200,
            "discountAmount": null,
            "isActive": true,
            "isEntryReward": false,
            "expiryDays": null
          }
        ]
      }
    ],
    "entryMethod": "points",
    "entryMethodExtra": null,
    "entryLogic": "AND",
    "currencySymbol": "£",
    "pointsMultiplierMode": null,
    "loyaltyMode": "points",
    "currency": "GBP"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.