createPurchaseOrder
Topics: Logistics
Create a purchase order with lines, computing totals automatically. Requires purchaseOrder:write.
Returns
CreatePurchaseOrderPayload!Arguments
The supplier, PO number, currency and lines of the order to create.
Exact field 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"])Declared on Mutation. Access is checked by the platform for each operation.