Organization / Orders
orders
List orders
Arguments
afterStringA cursor after which elements are returned.
beforeStringA cursor before which elements are returned.
firstIntLimits number of fetched items. Maximum allowed value: 250.
lastIntLimits number of fetched items. Maximum allowed value: 250.
queryStringSearch and filter expression for orders. A filter made up of field terms, connectives, modifiers, and comparators. You can apply one or more filters to a query.
Supported filters
referencestringAny valuesearchstringAny valueexceptionboolAny valuebrand. iduuidAny valuecustomer. iduuidAny valuerecipient_address. country_codestringAny valuestatusenumCANCELED- Canceled, or every ordered quantity was reduced to zero.
CREATED- New order that has not been allocated yet.
EXPECTED- Awaiting payment; stock is not allocated until the order is paid.
ALLOCATED- Stock is reserved for all quantity not shipped yet, also when the order is partly shipped.
PARTIALLY_SHIPPED- Partly shipped, and part of the remaining quantity has no stock reserved.
SHIPPEDUNALLOCATED- Nothing shipped yet, and part of the quantity has no stock reserved (backorder).
created_atdatetimeAny valueshipped_atdatetimeAny valuereverseBoolean!Default: falseReverse the order of the underlying list.
Returns
cursorString!A unique cursor that can be used for pagination.
endCursorStringThe cursor to continue paginating forwards.
hasNextPageBoolean!When paginating forwards, are there more items?
hasPreviousPageBoolean!When paginating backwards, are there more items?
startCursorStringThe cursor to continue paginating backwards.