โ† API reference
Query / commerce

listOrders

List orders with pagination. Requires order:list permission.

Arguments

firstInt

Number of items from the start

afterString

Cursor to start after

Filter criteria

Sort order

Returns OrderConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete OrderConnection type

Explore in a view

Order Intake
View exact SDL
"""List orders with pagination. Requires order:list permission."""
listOrders(
  """Number of items from the start"""
  first: Int
  """Cursor to start after"""
  after: String
  """Filter criteria"""
  filter: OrderFilterInput
  """Sort order"""
  sort: [OrderSortInput!]
): OrderConnection! @topic(names: ["commerce"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.