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

# Warehouse

> A warehouse. Polymorphic: the property 'warehouseType' selects the variant. The variants exclude each other, and every variant has exactly the properties its type can have: required, optional or not there at all.



**Kind**: `interface`

## Fields

**`id`**: `ID!`

The ID of the warehouse.

---

**`name`**: `String!`

The name of the warehouse. It is unique among the active warehouses.

---

**`shortName`**: `String`

The short name of the warehouse.

---

**`description`**: `String`

A free description of the warehouse.

---

**`isActive`**: `Boolean!`

Whether the warehouse is active. An inactive warehouse takes no new stock postings and no new orders.

---

**`deliveryPriority`**: `Int!`

The priority of the warehouse when orders are delivered: orders are served from the warehouse with the lowest number first.

---

**`companyId`**: `ID`

The ID of the company the warehouse belongs to.

---

**`nveExtensionDigit`**: `String`

The digit from 0 to 9 that the warehouse puts into the shipping unit numbers (NVE) of its shipments.

---

**`isLockedForAvailableStock`**: `Boolean!`

Whether the stock of the warehouse is left out of the available stock.

---

**`hasStorageLocations`**: `Boolean!`

Whether the warehouse manages storage locations that this API shows (true for a warehouse with storage location management). Every other warehouse has one storage location internally, which the API does not show; its storage location operations fail with errorCode WAREHOUSE_TYPE_DOES_NOT_SUPPORT_STORAGE_LOCATIONS.

---

**`allowsDirectStockPosting`**: `Boolean!`

Whether stock can be posted on the warehouse directly, by a stock posting. True only for an active warehouse of the type 'Standard'; every other warehouse takes stock through the processes of its own system.

---

**`warehouseType`**: `WarehouseType!`

Discriminator of the warehouse type.

## Possible types

- `AmazonFbaPendingWarehouse`
- `AmazonFbaWarehouse`
- `DropShippingWarehouse`
- `ExternalFulfillmentWarehouse`
- `FulfillmentNetworkWarehouse`
- `StandardWarehouse`
- `WmsWarehouse`

