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

# UpdateWarehouseCommandRequestInput

> Changes a warehouse. The input is a one-of: exactly one variant is sent and it must be the type of the warehouse. Only the properties that are sent change; sending null clears an optional property. The type cannot be changed. errorCode is one of: WAREHOUSE_NOT_FOUND (the warehouse was not found); WAREHOUSE_TYPE_MISMATCH (the variant is not the type of the warehouse The type cannot be changed, so the request has to carry the variant of its own type); WAREHOUSE_NAME_NOT_UNIQUE (the name is already used by an active warehouse). - Request



**Kind**: `input`

## Fields

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

The ID of the warehouse.

---

**`changes`**: `UpdateWarehouseInput!` (required)

The changes. Exactly one variant, the type of the warehouse.

---

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

