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

# DeleteSalesOrderCommandRequestInput

> Deletes a sales order. Fails with SalesOrderCannotBeDeleted (invoice, delivery note, open picklist) or SalesOrderDeleteDisabled. - Request



**Kind**: `input`

## Fields

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

The ID of the sales order. Fails with a GraphQL error whose extensions.code is SalesOrderNotFound.

---

**`reason`**: `String`

Why the sales order is deleted. It is written to the log.

---

**`disableAutomaticWorkflows`**: `Boolean`

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

