โ† API reference
Query / commerce

listOrderLines

List order lines with pagination. Requires order:list permission.

Arguments

firstInt

Number of items from the start

afterString

Cursor to start after

Filter criteria

Sort order

Returns OrderLineConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete OrderLineConnection type

Explore in a view

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

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