Skip to content

Pagination and caching

Product, service, review and customer order lists are paged with a cursor:

GET /v1/products?limit=24
{ "data": { "items": [], "next_cursor": "eyJ…" } }
  • limit defaults to 24, with a maximum of 100.
  • Pass next_cursor back as cursor to get the next page. When next_cursor is null, there are no more pages.
  • Treat cursors as opaque. A malformed or out-of-date cursor gets 400 invalid_cursor; start again from the first page.

Some lists aren’t paged:

  • GET /collections returns a plain array of collections.
  • Customer documents and deliverables return at most 100 items, newest first, as { items }.

Catalog and shop reads send:

ETag: W/"…"
Cache-Control: private, max-age=60
Vary: Origin, Authorization

Send the ETag back in If-None-Match to get 304 Not Modified when nothing has changed.

These are never cached and send Cache-Control: no-store:

  • availability;
  • contact, checkouts and orders;
  • every customer route;
  • every error.

Don’t cache them in your own server or CDN either.