โ† API reference
Query / commerce

getPurchaseOrderLine

Fetch a single purchase order line by ID. Requires purchaseOrder:read permission.

Arguments

Purchase order line ID to fetch

Returns PurchaseOrderLineState

Scalar fields at a glance

purchaseOrderIdPurchaseOrderID!
lineNumberInt!
substrateIdSubstrateID
descriptionString!
supplierProductCodeString
โ†— View the complete PurchaseOrderLineState type

Explore in a view

Order Intake
View exact SDL
"""
Fetch a single purchase order line by ID. Requires purchaseOrder:read permission.
"""
getPurchaseOrderLine(
  """Purchase order line ID to fetch"""
  id: PurchaseOrderLineID!
): PurchaseOrderLineState @topic(names: ["commerce"])

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