CancelPurchaseOrderLineItemCommandRequestInput
Cancels what is still undelivered of a line item, in every status: its ordered quantity becomes the delivered quantity (a line delivered beyond its order is raised to the delivered quantity), and a confirmed quantity above it is reduced as well. An order that is sent or partially delivered gets its status computed anew from the ordered and delivered quantities; a completed order stays completed. Raises the workflow event ‘line-item-reduced’. 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 or PURCHASE_ORDER_LINE_ITEM_NOT_FOUND (the order or the line was not found). - Request
CancelPurchaseOrderLineItemCommandRequestInputFields
The ID of the purchase order.
The ID of the line item.
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?