โ† API reference
Query / commerce

listPurchaseOrderLines

List purchase order lines with pagination, filtering, and sorting. Requires purchaseOrder:list permission.

Arguments

firstInt

Number of items from the start

afterString

Cursor to start after

Filter criteria

Sort order

Returns PurchaseOrderLineConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete PurchaseOrderLineConnection type

Explore in a view

Order Intake
View exact SDL
"""
List purchase order lines with pagination, filtering, and sorting. Requires purchaseOrder:list permission.
"""
listPurchaseOrderLines(
  """Number of items from the start"""
  first: Int
  """Cursor to start after"""
  after: String
  """Filter criteria"""
  filter: PurchaseOrderLineFilterInput
  """Sort order"""
  sort: [PurchaseOrderLineSortInput!]
): PurchaseOrderLineConnection! @topic(names: ["commerce"])

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