UpdatePurchaseOrderLineItemCommandRequestInput
Changes an item or custom line, in every status, also when something was delivered. The input is a one-of: exactly one variant is sent and it must be the kind of the line. Only the properties that are sent change. The allowances and charges are computed anew. 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 ‘changed’, and ‘line-item-reduced’ when the quantity is lowered. 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: an invalid request, for example a quantity below 0, a property that cannot be cleared sent as null or a text with control characters; PURCHASE_ORDER_NOT_FOUND or PURCHASE_ORDER_LINE_ITEM_NOT_FOUND (the order or the line was not found); PURCHASE_ORDER_LINE_ITEM_TYPE_MISMATCH (the variant is not the kind of the line); PURCHASE_ORDER_LINE_ITEM_NOT_WRITABLE (an allowance or charge). - Request
UpdatePurchaseOrderLineItemCommandRequestInputFields
The ID of the purchase order.
The ID of the line item.
The changes. Exactly one variant, the kind of the line.
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?