> ## 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.

# MarkPurchaseOrderAsSentCommandRequestInput

> Marks a released purchase order as sent to the supplier, for example when it was transmitted outside the ERP. For a drop shipping order the stock of the supplier items whose stock the ERP tracks is lowered by the ordered quantities. For a warehouse of the fulfillment network every item must be managed in stock and ordered with a quantity above 0. Raises the workflow events 'processing-started' and '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 (the order was not found); PURCHASE_ORDER_NOT_RELEASED (the order is not released yet); PURCHASE_ORDER_ALREADY_SENT (the order was sent already); PURCHASE_ORDER_FULFILLMENT_ITEMS_NOT_STOCK_MANAGED or PURCHASE_ORDER_FULFILLMENT_QUANTITY_INVALID (an item does not meet the rules of the fulfillment network). - 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.

---

**`idempotencyKey`**: `String`

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.

