DeletePurchaseOrderLineItemCommandRequestInput
Removes an item or custom line from a purchase order, in every status, also when something was delivered: its goods receipts stay in stock. The last line cannot be removed; delete the order instead. 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’. 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); PURCHASE_ORDER_LAST_LINE_ITEM (the order would have no line left); PURCHASE_ORDER_LINE_ITEM_NOT_WRITABLE (an allowance or charge; it is computed). - Request
DeletePurchaseOrderLineItemCommandRequestInputFields
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.
Was this page helpful?