Skip to main content
List endpoints return one page at a time and use cursors, so a page stays correct while records change. This page covers the page parameters, the page shape, the filters each list accepts and the order of each list.

Page parameters

Page shape

Every list returns the same three fields. Treat a cursor as an opaque value and send it back unchanged. On the catalog, customer and event lists, a cursor that was altered or belongs to a different list is refused with 400 and invalid_cursor. On the record results of a bulk import, an invalid after value is refused with 400 and invalid_request.
The example shows only some of the item’s fields. The API reference lists every field.

Filters

Repeat a filter parameter to pass several values.

Order

Each list has a fixed order. There is no sort parameter.

Following the event feed

The events list returns a nextCursor even when hasMore is false, as long as the page holds an event or you sent an after value. Store it and send it as after on your next poll to receive only events that occurred since. See Webhooks and events.