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

# MergeCustomerCommandRequestInput

> Merges another customer (the source) into this customer (the target). Addresses, contacts, bank accounts, notes, history, documents and sales channel accounts of the source move to the target; custom field values, labels and item category discounts move where the target has none. The source is deleted afterwards. The target keeps its own master data except what is chosen with 'billingAddressFrom' and 'numberFrom'. - Request



**Kind**: `input`

## Fields

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

The ID of the target customer, which stays.

---

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

The ID of the source customer, which is merged into the target and then deleted. It must not be the target.

---

**`billingAddressFrom`**: `CustomerMergeSide`

Whose default billing address the target keeps. Omitted means 'Target'.

---

**`numberFrom`**: `CustomerMergeSide`

Whose customer number the target keeps. Omitted means 'Target'. With 'Source', open sales documents of both customers get the number.

---

**`disableAutomaticWorkflows`**: `Boolean`

Suppresses the automatic workflow triggers of this call (the customer event 'changed'). 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.

