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

# SplitSalesOrderCommandRequestInput

> Moves line items or quantities into a new sales order. Fails with a GraphQL error whose extensions.code is SalesOrderCannotBeSplit. - Request



**Kind**: `input`

## Fields

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

The ID of the sales order. An unknown ID fails with SalesOrderNotFound.

---

**`lineItems`**: `[SplitSalesOrderLineItemInput]`

The lines to move; omitted moves every splittable remainder. Moving all lines at once fails with AllLineItemsSelected.

---

**`disableAutomaticWorkflows`**: `Boolean`

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

---

**`copyShippingLineItem`**: `Boolean`

Whether the new sales order also gets the shipping cost line. 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.

