Pagination

The Account API uses cursor-based pagination for efficient handling of large datasets. Pagination is automatically enabled on all list endpoints.

How It Works

Paginated endpoints return a standard response structure:

{
  "count": 150,
  "next": "https://sandbox.akinon.com/account/loyalty/?page=2",
  "previous": null,
  "results": [...]
}

Response Fields:

  • count (integer): Total number of records. If filters are applied, returns the filtered count.

  • next (string|null): Full URL of the next page. null if there is no next page.

  • previous (string|null): Full URL of the previous page. null if you're on the first page.

  • results (array): List of records for the current page. Defaults to 20 records per page.

Last updated

Was this helpful?