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

# MergeSalesOrdersCommandRequestInput

> Merges the source sales order into this one; the source is deleted. Fails with a GraphQL error whose extensions.code is SalesOrdersCannotBeMerged. - Request



**Kind**: `input`

## Fields

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

The sales order that is merged in. Unknown fails with SalesOrderNotFound, this order itself with SameSalesOrder.

---

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

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

---

**`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.

