Return a list of sales orders.
Pagination. Every response carries paginator.nextCursor. To get the next page, send it
back as cursor together with the same filters and order; it is null on the last page.
Following nextCursor reaches every sales order, however many there are, and the nextCursor
of a page fetched by number continues right after that page. A page fetched by cursor has no
paginator.currentPage.
page is still accepted, but it only reaches the first 10,000 sales orders: when more match, a
page past them returns no sales orders. paginator.totalItemsCount is capped at 10,000 for the
same reason.
Use cursor to go further.
Order. Sales orders are ordered by order_by (default created_at) in order_direction
(default asc). Sales orders that share that value are ordered by sales order id, in the same
direction, so every sales order has one place in the list and pages neither repeat nor skip
one. An order whose order_by value changes while you page (a new last_updated_at) moves to
its new place. Sales order ids do not follow the creation order.
What last_updated_at holds. It is the latest of the order's placement, payment, payment
rejection, dispatch and cancellation dates, as the marketplace reports them, in UTC. Other changes
(refunds, tracking codes, delivery status, items, addresses) do not move it, and a dispatch can be
recorded with a date earlier than the time eDesk received it. So filter_last_updated_at_gte does
not return every order changed since a given time: to refresh a copy, page again by cursor
through the orders of the period you keep (e.g. with filter_created_at_gte) and upsert them by
id.
Parameters. Only the parameters below are supported; any other query parameter is ignored.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||