---
title: "Pages the tiers of the store's products, or of one product."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.sherpo.io/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Sherpo merchant API › product

`GET /v1/stores/{store}/tiers`

## Authentication

- `bearer`, http, header `Authorization`, scopes: `product:read`

## Path parameters

- `store` (`listTiers.path.store`; string, required) — The store's id.

## Query parameters

- `product` (`listTiers.query.product`; string, optional) — An id, or `slug:<slug>`.
  - minLength 1
- `filter` (`listTiers.query.filter`; object, optional) — `filter[<field>]=<value>` is an equality, `filter[<field>][<op>]=<value>` names the operator; `in` repeats the parameter.
- `sort` (`listTiers.query.sort`; string, optional)
  - one of `"product"`
- `direction` (`listTiers.query.direction`; string, optional)
  - one of `"asc"`, `"desc"`
- `limit` (`listTiers.query.limit`; integer, optional)
  - min 1; max 100
- `cursor` (`listTiers.query.cursor`; string, optional)
  - maxLength 8192
- `count` (`listTiers.query.count`; boolean, optional)

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.sherpo.io/merchant/v1/stores/<store>/tiers' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.sherpo.io/merchant/v1/stores/<store>/tiers';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.sherpo.io/merchant/v1/stores/<store>/tiers"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Pages the tiers of the store's products, or of one product.

#### Example

```json
{
  "items": [
    {
      "product": {
        "id": "string",
        "slug": "string",
        "path": "string",
        "url": "string",
        "title": "string",
        "category": "string",
        "deleted": true
      },
      "in_use": {
        "prices": 0,
        "grants": 0,
        "orders": 0,
        "discounts": 0,
        "gates": 0
      },
      "id": "string",
      "product_id": "string",
      "rank": 0,
      "name": "string",
      "settings": {
        "software": {
          "features": [
            "string"
          ],
          "activation_limit": 1
        },
        "event": {
          "capacity": 1
        },
        "property1": true,
        "property2": true
      }
    }
  ],
  "cursor": "string",
  "total": 0,
  "facets": {
    "property1": {
      "property1": 0,
      "property2": 0
    },
    "property2": {
      "property1": 0,
      "property2": 0
    }
  }
}
```

- `items` (`listTiers.response.200.items`; array<object>, required)
  - `product` (`listTiers.response.200.items.product`; any of, required)
    - any of: `object`, `null`
  - `in_use` (`listTiers.response.200.items.in_use`; object, required)
    - `prices` (`listTiers.response.200.items.in_use.prices`; number, required)
    - `grants` (`listTiers.response.200.items.in_use.grants`; number, required)
    - `orders` (`listTiers.response.200.items.in_use.orders`; number, required)
    - `discounts` (`listTiers.response.200.items.in_use.discounts`; number, required)
    - `gates` (`listTiers.response.200.items.in_use.gates`; number, required)
  - `id` (`listTiers.response.200.items.id`; string, required)
  - `product_id` (`listTiers.response.200.items.product_id`; string, required)
  - `rank` (`listTiers.response.200.items.rank`; number, required)
  - `name` (`listTiers.response.200.items.name`; string, required)
  - `settings` (`listTiers.response.200.items.settings`; object, required)
    - `software` (`listTiers.response.200.items.settings.software`; object, optional) — A software tier: what its licenses unlock, answered by a license check.
      - `features` (`listTiers.response.200.items.settings.software.features`; array<string>, optional) — Distinct flags the seller's software reads: letters and digits, single hyphens, underscores, dots or colons between them.
        - minLength 1; maxLength 64; pattern `^[A-Za-z0-9]+(?:[-_.:][A-Za-z0-9]+)*$`
      - `activation_limit` (`listTiers.response.200.items.settings.software.activation_limit`; integer, optional) — The devices its licenses activate at once, over the product's default; none holds the product's.
        - min 1; max 10000
    - `event` (`listTiers.response.200.items.settings.event`; object, optional) — An event's ticket type: how many guests it takes.
      - `capacity` (`listTiers.response.200.items.settings.event.capacity`; integer, optional) — How many guests this ticket type takes, within the event's own capacity; none means no limit of its own.
        - min 1; max 1000000
- `cursor` (`listTiers.response.200.cursor`; any of, required)
  - any of: `string`, `null`
- `total` (`listTiers.response.200.total`; number, optional)
- `facets` (`listTiers.response.200.facets`; map<map<number>>, optional)

### default

A problem; see https://api.sherpo.io/merchant/docs/errors.

#### Example

```json
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "context": {},
  "reached_core": true,
  "core_answer": "string"
}
```

- `type` (`listTiers.response.default.type`; string, required)
  - format `uri`
- `title` (`listTiers.response.default.title`; string, required)
- `status` (`listTiers.response.default.status`; integer, required)
- `detail` (`listTiers.response.default.detail`; string, required)
- `code` (`listTiers.response.default.code`; string, optional)
- `context` (`listTiers.response.default.context`; object, optional)
- `reached_core` (`listTiers.response.default.reached_core`; boolean, optional)
- `core_answer` (`listTiers.response.default.core_answer`; string, optional)


Source: https://docs.sherpo.io/merchant-api/reference/list-tiers/index.md
