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!deliveryAddressIdAddressIDstatusPurchaseOrderStatus!orderDateISO8601!Explore in a view
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.