DeletePurchaseOrderCommandRequestInput
Deletes a purchase order with its line items, in every status. Goods receipts that were booked stay in stock; incoming invoice lines and reminders keep the ID of an order that no longer exists; the supplier stock lowered by a sent drop shipping order is not restored, and the delivery note of a drop shipping order stays. An order sent to the fulfillment network is closed there first. Raises the workflow event ‘deleted’. 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_FULFILLMENT_INBOUND_NOT_CLOSED (the order was sent to the fulfillment network and cannot be closed there). - Request
DeletePurchaseOrderCommandRequestInputFields
The ID of the purchase order.
Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.
Was this page helpful?