Query / commerce
listOrders
List orders with pagination. Requires order:list permission.
Arguments
firstIntNumber of items from the start
afterStringCursor to start after
filterOrderFilterInputFilter criteria
sort[OrderSortInput!]Sort order
Returns OrderConnection!
Explore in a view
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.