Skip to content

Concepts

Pagination

Every list endpoint returns the same shape:

JSON
{
  "data": [],
  "next_cursor": "eyJrIjoic2V0X3g3S3AyIn0"
}
  • limit sets the page size. It defaults to 100, and values over 500 count as 500.
  • When next_cursor isn't null, send it back as cursor to get the next page. null means the last page.
  • Cursors are opaque. Use each one straight away, and don't decode, build or store them.
  • Send the same filters on every page of one walk. Only cursor and limit may change.
  • There's no total count. Rows added during your walk may or may not appear.

A sku lookup normally fits on one page. Still check next_cursor, because one code can occasionally match two sets. The skus status list comes on the first page only.