Skip to main content

Search shipments with filtering, sorting, cursor pagination, and an AWBs filter

POST
/api/v1/shipments/list

Returns the matching shipment rows for the requested columns. Pagination is cursor-first: the response carries hasMore and an opaque nextCursor. To page forward, replay the returned nextCursor value in the request body cursor field (do NOT also send page). A nextCursor is only minted on the default newest-first order — when a custom sortBy, an awbs filter, or a free-text search is supplied, nextCursor is null; fall back to page/limit and use hasMore to drive paging. No total count is returned. When isExport=true (or limit > 5000) the endpoint returns 202 with a status message instead of rows.

Time zone: send timezone (a UTC offset such as +03:00) with any date filter. It decides which instants a plain YYYY-MM-DD bound covers — the from-bound opens that day at 00:00:00.000 and the to-bound closes it at 23:59:59.999 IN THAT OFFSET — and it is also the offset every date/time in the response (and in a CSV export) is rendered in, so a row is never displayed under a different day than the one that selected it. Defaults to +00:00 (UTC) when omitted.

Request​

Responses​

200 OK

Successfully retrieved shipments

202 Accepted

Export accepted — a background CSV export was dispatched (isExport / limit > 5000).

401 Unauthorized

Unauthorized - Authentication required

403 Forbidden

Forbidden - Insufficient permissions

500 Internal Server Error

Internal Server Error