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

# DeactivateStorageLocationCommandRequestInput

> Sets a storage location to inactive. A location with stock cannot be switched off. errorCode is one of: WAREHOUSE_NOT_FOUND or STORAGE_LOCATION_NOT_FOUND (the warehouse or the storage location was not found); WAREHOUSE_TYPE_DOES_NOT_SUPPORT_STORAGE_LOCATIONS (the warehouse has no storage locations: only warehouses with storage location management have them); STORAGE_LOCATION_ALREADY_DEACTIVATED, STORAGE_LOCATION_HAS_STOCK, STORAGE_LOCATION_HAS_RESERVED_STOCK, STORAGE_LOCATION_INVENTORY_LOCKED, STORAGE_LOCATION_IS_SYSTEM_LOCATION (the status cannot be changed). - Request



**Kind**: `input`

## Fields

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

The ID of the warehouse.

---

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

The ID of the storage location.

---

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

