orders
The merchant's orders, most recently placed first, as a cursor connection.
**Returns:** One page of orders for the acting merchant.
orders(
first: Int
after: String
last: Int
before: String
status: OrderStatus
channel: SalesChannel
): OrderConnection!
Arguments
orders.first ● Int scalar
Returns the first _n_ elements from the list.
orders.after ● String scalar
Returns the elements in the list that come after the specified cursor.
orders.last ● Int scalar
Returns the last _n_ elements from the list.
orders.before ● String scalar
Returns the elements in the list that come before the specified cursor.
orders.status ● OrderStatus enum
Restricts the page to orders in this state. Omit it for every state.
orders.channel ● SalesChannel enum
Restricts the page to one selling surface. Omit it for every channel.
Type
OrderConnection object
A connection to a list of items.