Mutation / logistics
createPurchaseOrder
Create a purchase order with lines, computing totals automatically. Requires purchaseOrder:write.
Arguments
inputCreatePurchaseOrderInput!The supplier, PO number, currency and lines of the order to create.
Returns CreatePurchaseOrderPayload!
Explore in a view
View exact SDL
"""
Create a purchase order with lines, computing totals automatically. Requires purchaseOrder:write.
"""
createPurchaseOrder(
"""The supplier, PO number, currency and lines of the order to create."""
input: CreatePurchaseOrderInput!
): CreatePurchaseOrderPayload! @topic(names: ["logistics"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.