GraphQL API
Organization API
Organization / Orders

orders

List orders

Arguments

7 arguments
queryString

Search 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
referencestring
Any value
searchstring
Any value
exceptionbool
Any value
brand.iduuid
Any value
customer.iduuid
Any value
recipient_address.country_codestring
Any value
statusenum
CANCELEDCREATEDEXPECTEDALLOCATEDPARTIALLY_SHIPPEDSHIPPEDUNALLOCATED
created_atdatetime
Any value
shipped_atdatetime
Any value
sortKeyOrdersSortKeyDefault: ID

Sort the underlying list using a key.

IDCREATED_ATSHIPPED_AT
reverseBoolean!Default: false

Reverse the order of the underlying list.

firstInt

Limits number of fetched items. Maximum allowed value: 250.

lastInt

Limits number of fetched items. Maximum allowed value: 250.

afterString

A cursor after which elements are returned.

beforeString

A cursor before which elements are returned.

Possible return

hasNextPageBoolean!

When paginating forwards, are there more items?

hasPreviousPageBoolean!

When paginating backwards, are there more items?

startCursorString

The cursor to continue paginating backwards.

endCursorString

The cursor to continue paginating forwards.

cursorString!

A unique cursor that can be used for pagination.