Skip to navigation

Orders — stable sort when paging

Get orders (GET /orders) accepts a new optional query parameter, secondarySortByModifiedAt (boolean, default false).

When true, orders with the same createdAt are then ordered by their updatedAt, in the same direction as sort. Use it to get a stable order when paging through the results with limit and offset.