Sales & CRMQu Query

getPurchaseOrderLine

Topics: Commerce

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

Returns

PurchaseOrderLineState

Arguments

Purchase order line ID to fetch

Exact field 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"])

Declared on Query. Access is checked by the platform for each operation.