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

# ItemStorageConstraints

> Defines the storage and inventory management constraints of an item. This structure includes settings for negative stock handling, inventory management, serial numbers, batch tracking, and best-before date management.



**Kind**: `object`

## Fields

**`allowNegativeStock`**: `Boolean!`

Allows selling a higher quantity of the item than is actually in stock. This global setting must be activated first before platform-specific or sales channel-specific negative stock settings can be enabled.

---

**`itemPlatformNegativeStocks`**: `[NegativeStockPlatform!]!`

List of platform-specific negative stock settings. Activates the ability to sell a higher quantity of the item for specific platforms (e.g., eBay, Amazon). AllowNegativeStock must be activated as well for these settings to take effect.

---

**`itemSalesChannelNegativeStocks`**: `[NegativeStockSalesChannel!]!`

List of sales channel-specific negative stock settings. Activates the ability to sell a higher quantity of the item for specific sales channels or shops. AllowNegativeStock must be activated as well for these settings to take effect.

---

**`buffer`**: `Int`

Item buffer quantity - defines a safety stock buffer that is reserved and not available for sale. This helps prevent overselling and ensures availability for important orders.

---

**`globalMinimumStockLevel`**: `Decimal!`

Global minimum stock level across all warehouses. When the total stock falls below this value, the item is flagged for reordering. Used for automatic order suggestions and low-stock warnings.

---

**`hasBatch`**: `Boolean!`

Indicates whether the item uses batch management. When enabled, the item requires batch numbers to be assigned for each stock movement to enable tracking and traceability.

---

**`isInventoryManagementActive`**: `Boolean!`

Determines if the item is working with inventory management. When active, stock levels are tracked and managed; when inactive, the item is treated as always available regardless of stock levels.

---

**`isBestBeforeManaged`**: `Boolean!`

Determines if the item is working with best-before date (MHD - Mindesthaltbarkeitsdatum) management. When enabled, stock items must have an assigned best-before date for tracking perishable goods.

---

**`isStockDivisible`**: `Boolean!`

Determines if the item can be sold in split quantities (fractional units). When enabled, stock can be managed in decimal quantities (e.g., 2.5 pieces) instead of only whole numbers.

---

**`serialNumberType`**: `SerialNumberType!`

Determines the type of serial number processing. Defines whether serial numbers are inactive, active, or tracked for this item.

