> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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



**Kind**: `input`

## Fields

**`purchaseOrderId`**: `ID!` (required)

The ID of the purchase order.

---

**`disableAutomaticWorkflows`**: `Boolean`

Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.

