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

# Pagination

> Lists page with a cursor, up to 50 items at a time.

A list answers one page and a cursor to the next:

```json theme={"dark"}
{
  "data": [ { "id": "6f1c2a9e-..." }, { "id": "8a3d..." } ],
  "next_cursor": "Ab3kZ2l..."
}
```

| Parameter | |
| - | - |
| `limit` | Items per page: 1 to 50, 20 by default. |
| `cursor` | The `next_cursor` of the previous page. |
| `sort` | `created_at,ASC` (the default) or `created_at,DESC`. |
| `created_since` | Only items created at or after this time, in RFC 3339, e.g. `2026-12-01T00:00:00Z`. |

`next_cursor` is `null` on the last page. A cursor belongs to its sort direction: change `sort` and an old cursor answers `422`.

```typescript TypeScript theme={"dark"}
let cursor: string | null = null
do {
  const params = new URLSearchParams({ limit: '50' })
  if (cursor) params.set('cursor', cursor)
  const response = await fetch(
    'https://api.easy-orders.net/api/partners-apps/v1/orders?' + params,
    { headers: { Authorization: `Bearer ${process.env.EASYORDERS_ACCESS_TOKEN}` } },
  )
  const page = await response.json()
  for (const order of page.data) {
    // ...
  }
  cursor = page.next_cursor
} while (cursor)
```

## Keep in sync

To pick up new items, remember the `created_at` of the last item you saw, and next time list with `created_since` set to it and `sort=created_at,ASC`. The item at that exact time comes again, so skip the IDs you already have.

Missed orders also take `updated_since`, to pick up the ones that changed.

## Filters

Lists that can be filtered take `filter=field||$op||value`, repeatable; every filter must match.

| Operator | |
| - | - |
| `$eq`, `$ne` | Equal, not equal. |
| `$gt`, `$gte`, `$lt`, `$lte` | Greater or less than. |
| `$in` | One of comma-separated values, up to 50. |
| `$cont` | Contains. |
| `$isnull`, `$notnull` | Empty or not; no value. |

Each list documents which fields and operators it takes; anything else answers `422`. Up to 10 filters per request.


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