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

# RestockSuggestionDestinationSettingsInput

> Where the goods go: the warehouses whose demand is covered, and the stock limits that apply there. For a new template or a calculation; an omitted setting takes its default.



**Kind**: `input`

## Fields

**`destinationSelection`**: `RestockSuggestionDestinationSelection!` (required)

Which warehouses get their demand covered.

---

**`destinationAreaId`**: `ID`

The destination area whose warehouses get their demand covered, in their priority; an active one. Required exactly when 'destinationSelection' is 'DESTINATION_AREA'.

---

**`warehouseId`**: `ID`

The one warehouse that gets its demand covered; an active one. Required exactly when 'destinationSelection' is 'WAREHOUSE'.

---

**`demandAllocation`**: `RestockSuggestionDemandAllocation`

How the demand of several destination warehouses is suggested. Only effective with a destination area of more than one warehouse. When omitted: 'FIRST_WAREHOUSE'.

---

**`limitToMaximumStock`**: `Boolean`

Whether a suggestion stays within the item's maximum stock of the warehouse, counting the stock, the inflow and what the stock settings add; what goes beyond it is suggested for the warehouses of lower priority. When omitted: true.

---

**`fillGlobalMinimumStock`**: `Boolean`

Whether the item's minimum stock over all warehouses is topped up, spread over the destination warehouses by their priority. When omitted: false.

---

**`fillWarehouseMinimumStock`**: `Boolean`

Whether the item's minimum stock of each destination warehouse is topped up. When omitted: false.

