---
title: "Pages a product's entries, a blog's drafts first then newest first, a podcast's newest first, unless sorted."
---

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

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

## Authentication

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

## Path parameters

- `store` (`listEntries.path.store`; string, required) — The store's id.
- `product` (`listEntries.path.product`; string, required) — An id, or `slug:<slug>`.
  - minLength 1

## Query parameters

- `filter` (`listEntries.query.filter`; object, optional) — `filter[<field>]=<value>` is an equality, `filter[<field>][<op>]=<value>` names the operator; `in` repeats the parameter.
- `sort` (`listEntries.query.sort`; string, optional) — Sorted by published, rows without a value come last either way. Sorted by latest, rows without a value come first either way.
  - one of `"position"`, `"created"`, `"published"`, `"latest"`, `"title"`
- `direction` (`listEntries.query.direction`; string, optional)
  - one of `"asc"`, `"desc"`
- `limit` (`listEntries.query.limit`; integer, optional)
  - min 1; max 100
- `cursor` (`listEntries.query.cursor`; string, optional)
  - maxLength 8192
- `count` (`listEntries.query.count`; boolean, optional)
- `search` (`listEntries.query.search`; string, optional)
  - minLength 1; maxLength 200

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

Pages a product's entries, a blog's drafts first then newest first, a podcast's newest first, unless sorted.

#### Example

```json
{
  "items": [
    {
      "summary": {
        "poster": {
          "id": "string",
          "locator": "string",
          "origin": "string",
          "custodian": "string",
          "enforcement": "string",
          "mime": "string",
          "bytes": 0,
          "quota_bytes": 0,
          "name": "string",
          "title": "string",
          "ext": "string",
          "status": "string",
          "optimized": true,
          "parent_id": "string",
          "redacted": true,
          "security": "string",
          "description": "string",
          "processed_at": "string",
          "metadata": {
            "width": 0,
            "height": 0,
            "duration": 0,
            "pages": 0,
            "waveform": "string",
            "transcript": {
              "language": "string",
              "confidence": 0
            },
            "arguments": [
              {}
            ],
            "property1": true,
            "property2": true
          },
          "created_at": "string"
        },
        "has_video": true,
        "duration": 0,
        "presentations": 0,
        "slides": 0,
        "files": 0,
        "links": 0,
        "has_body": true,
        "has_quiz": true,
        "has_certificate": true
      },
      "id": "string",
      "product_id": "string",
      "slug": "string",
      "path": "string",
      "url": "string",
      "title": "string",
      "subtitle": "string",
      "section": "string",
      "author": {
        "kind": "member",
        "user": {
          "id": "string"
        }
      },
      "tags": [
        "string"
      ],
      "preview": "string",
      "position": 0,
      "status": "string",
      "unlisted": true,
      "published_at": "string",
      "unlisted_at": "string",
      "release": {
        "session": {
          "id": "string"
        },
        "anchor": "string",
        "offset_minutes": 0
      },
      "released_at": "string",
      "search": "string",
      "created_at": "string",
      "updated_at": "string",
      "settings": {
        "ai_generated": true,
        "property1": true,
        "property2": true
      },
      "metadata": {
        "property1": true,
        "property2": true
      }
    }
  ],
  "cursor": "string",
  "total": 0,
  "facets": {
    "property1": {
      "property1": 0,
      "property2": 0
    },
    "property2": {
      "property1": 0,
      "property2": 0
    }
  }
}
```

- `items` (`listEntries.response.200.items`; array<object>, required)
  - `summary` (`listEntries.response.200.items.summary`; object, required)
    - `poster` (`listEntries.response.200.items.summary.poster`; any of, required)
      - any of: `object`, `null`
    - `has_video` (`listEntries.response.200.items.summary.has_video`; boolean, required)
    - `duration` (`listEntries.response.200.items.summary.duration`; any of, required)
      - any of: `number`, `null`
    - `presentations` (`listEntries.response.200.items.summary.presentations`; number, required)
    - `slides` (`listEntries.response.200.items.summary.slides`; number, required)
    - `files` (`listEntries.response.200.items.summary.files`; number, required)
    - `links` (`listEntries.response.200.items.summary.links`; number, required)
    - `has_body` (`listEntries.response.200.items.summary.has_body`; boolean, required)
    - `has_quiz` (`listEntries.response.200.items.summary.has_quiz`; boolean, required)
    - `has_certificate` (`listEntries.response.200.items.summary.has_certificate`; boolean, required)
  - `id` (`listEntries.response.200.items.id`; string, required)
  - `product_id` (`listEntries.response.200.items.product_id`; string, required)
  - `slug` (`listEntries.response.200.items.slug`; string, required)
  - `path` (`listEntries.response.200.items.path`; string, required) — The storefront path.
  - `url` (`listEntries.response.200.items.url`; any of, required) — The absolute URL on the store's verified hostname, or null before it has one.
    - any of: `string`, `null`
  - `title` (`listEntries.response.200.items.title`; string, required)
  - `subtitle` (`listEntries.response.200.items.subtitle`; any of, required)
    - any of: `string`, `null`
  - `section` (`listEntries.response.200.items.section`; any of, required)
    - any of: `string`, `null`
  - `author` (`listEntries.response.200.items.author`; any of, required) — Who signs it, or null when unsigned.
    - any of: `object`, `object`, `null`
  - `tags` (`listEntries.response.200.items.tags`; array<string>, required)
  - `preview` (`listEntries.response.200.items.preview`; any of, required) — The teaser, in the rich text format as stored.
    - any of: `string`, `null`
  - `position` (`listEntries.response.200.items.position`; number, required)
  - `status` (`listEntries.response.200.items.status`; string, required)
  - `unlisted` (`listEntries.response.200.items.unlisted`; boolean, required)
  - `published_at` (`listEntries.response.200.items.published_at`; any of, required)
    - any of: `string`, `null`
  - `unlisted_at` (`listEntries.response.200.items.unlisted_at`; any of, required)
    - any of: `string`, `null`
  - `release` (`listEntries.response.200.items.release`; any of, required) — When its content opens relative to one of its event's sessions, or null when it opens as published.
    - any of: `object`, `null`
  - `released_at` (`listEntries.response.200.items.released_at`; any of, required) — Since when a write keeps its passed release open, so a later release no longer locks it; cleared with the release.
    - any of: `string`, `null`
  - `search` (`listEntries.response.200.items.search`; any of, required)
    - any of: `string`, `null`
  - `created_at` (`listEntries.response.200.items.created_at`; any of, required)
    - any of: `string`, `null`
  - `updated_at` (`listEntries.response.200.items.updated_at`; any of, required)
    - any of: `string`, `null`
  - `settings` (`listEntries.response.200.items.settings`; object, required)
    - `ai_generated` (`listEntries.response.200.items.settings.ai_generated`; boolean, optional) — The description was machine-written, which readers are told.
  - `metadata` (`listEntries.response.200.items.metadata`; map<any of>, required)
- `cursor` (`listEntries.response.200.cursor`; any of, required)
  - any of: `string`, `null`
- `total` (`listEntries.response.200.total`; number, optional)
- `facets` (`listEntries.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` (`listEntries.response.default.type`; string, required)
  - format `uri`
- `title` (`listEntries.response.default.title`; string, required)
- `status` (`listEntries.response.default.status`; integer, required)
- `detail` (`listEntries.response.default.detail`; string, required)
- `code` (`listEntries.response.default.code`; string, optional)
- `context` (`listEntries.response.default.context`; object, optional)
- `reached_core` (`listEntries.response.default.reached_core`; boolean, optional)
- `core_answer` (`listEntries.response.default.core_answer`; string, optional)


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