CancelPurchaseOrderCommandRequestInput
Cancels what is still undelivered of a sent purchase order: the ordered quantity of every line item, allowances and charges included, is reduced to the delivered quantity, a confirmed quantity above it as well, and the order is completed. The purchase list is not touched. Raises no workflow event. Errors arrive as GraphQL errors with the code in ‘extensions.code’; a refusal because of the current state also lists every reason in ‘extensions.blockers’. Codes: PURCHASE_ORDER_NOT_FOUND (the order was not found); PURCHASE_ORDER_NOT_SENT (the order was not sent; change or delete it instead); PURCHASE_ORDER_COMPLETED (the order is completed already). - Request
CancelPurchaseOrderCommandRequestInputFields
The ID of the purchase order.
Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?