---
title: "Pages the distinct sections a product's listed, published entries hold."
---

> 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 customer API › entry

`GET /v1/stores/{store}/products/{product}/entries/sections`

## Authentication

Requires one of the following:

- `bearer`, http, header `Authorization`, scopes: `read`
- `publishableKey`, apiKey, in header, header `Publishable-Key`

## Path parameters

- `store` (`listEntrySections.path.store`; string, required) — A hostname of the store.
- `product` (`listEntrySections.path.product`; string, required) — An id, or `slug:<slug>`.
  - minLength 1

## Query parameters

- `filter` (`listEntrySections.query.filter`; object, optional) — `filter[<field>]=<value>` is an equality, `filter[<field>][<op>]=<value>` names the operator; `in` repeats the parameter.
- `sort` (`listEntrySections.query.sort`; string, optional)
  - one of `"value"`
- `direction` (`listEntrySections.query.direction`; string, optional)
  - one of `"asc"`, `"desc"`
- `limit` (`listEntrySections.query.limit`; integer, optional)
  - min 1; max 100
- `cursor` (`listEntrySections.query.cursor`; string, optional)
  - maxLength 8192
- `count` (`listEntrySections.query.count`; boolean, optional)
- `search` (`listEntrySections.query.search`; string, optional)
  - minLength 1; maxLength 200
- `preview` (`listEntrySections.query.preview`; string, optional) — A token a seller made for the product's page or one of its entries, which lists an unpublished product's values.
  - minLength 1; maxLength 128

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.sherpo.io/customer/v1/stores/<store>/products/<product>/entries/sections' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.sherpo.io/customer/v1/stores/<store>/products/<product>/entries/sections';
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/customer/v1/stores/<store>/products/<product>/entries/sections"

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

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

print(response.text)
```

## Responses

### 200

Pages the distinct sections a product's listed, published entries hold.

#### Example

```json
{
  "items": [
    {
      "value": "string"
    }
  ],
  "cursor": "string",
  "total": 0,
  "facets": {
    "property1": {
      "property1": 0,
      "property2": 0
    },
    "property2": {
      "property1": 0,
      "property2": 0
    }
  }
}
```

- `items` (`listEntrySections.response.200.items`; array<object>, required)
  - `value` (`listEntrySections.response.200.items.value`; string, required)
- `cursor` (`listEntrySections.response.200.cursor`; any of, required)
  - any of: `string`, `null`
- `total` (`listEntrySections.response.200.total`; number, optional)
- `facets` (`listEntrySections.response.200.facets`; map<map<number>>, optional)

### default

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

#### Example

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

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


Source: https://docs.sherpo.io/customer-api/reference/list-entry-sections/index.md
