Skip to main content

findOrders

Lists the orders with the given number and customer email, optionally restricted to the given sales channels, with pagination. Orders in the with_anomalies status are not returned.

findOrders(
after: String
before: String
channelCodes: [String!]
email: String!
first: Int
last: Int
number: String!
): OrderConnection

Arguments​

findOrders.after ● String scalar​

Returns the elements in the list that come after the specified cursor.

findOrders.before ● String scalar​

Returns the elements in the list that come before the specified cursor.

findOrders.channelCodes ● [String!] list scalar​

The codes of the sales channels to search in. Omit to search every channel.

findOrders.email ● String! non-null scalar​

The customer email address.

findOrders.first ● Int scalar​

Returns the first _n_ elements from the list.

findOrders.last ● Int scalar​

Returns the last _n_ elements from the list.

findOrders.number ● String! non-null scalar​

The order number (Order.number).

Type​

OrderConnection object​

The connection type for Order.