โ† API reference
Query / commerce

getPurchaseOrder

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

Arguments

Purchase order ID to fetch

Returns PurchaseOrderState

Scalar fields at a glance

poNumberString!
supplierIdSupplierID!
deliveryAddressIdAddressID
orderDateISO8601!
โ†— View the complete PurchaseOrderState type

Explore in a view

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

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