Skip to content

Pagination

GET /shipments returns one page at a time, newest first.

{
"items": [],
"nextCursor": "eyJjIjoiMjAyNi0xMS0wM1QwODozOTo0OC4wMDBaIiwiaSI6Ijdk...",
"hasMore": true
}
Field Type Notes
items array The Shipments of this page
nextCursor string | null Pass it as cursor to get the next page
hasMore boolean false on the last page
  1. Call GET /shipments with your filters and a limit (1 to 100, default 20).
  2. While hasMore is true, call it again with the same filters and cursor set to nextCursor.

Keep the same filters while you page. A cursor is opaque, so pass it back exactly as you got it.

The filters are in List Shipments.