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

# RestockSuggestionDemandSettingsInput

> What counts as open demand: which open sales orders, and which other requests. When no payment state is chosen at all, no open sales order counts. The payment, on-hold and due-date choices apply to stock transfers counted as demand as well. For a new template or a calculation; an omitted setting takes its default.



**Kind**: `input`

## Fields

**`includePaidSalesOrders`**: `Boolean`

Whether paid open sales orders count. When omitted: true.

---

**`unpaidSalesOrders`**: `RestockSuggestionUnpaidSalesOrders`

Which unpaid open sales orders count. When omitted: 'ALL'.

---

**`includeSalesOrdersDeliveredBeforePayment`**: `Boolean`

Whether open sales orders whose payment method delivers before payment count, paid or not. When omitted: true.

---

**`includeOnHoldSalesOrders`**: `Boolean`

Whether sales orders on hold count. A sales order held for a reason that excludes it from the purchase list never counts. When omitted: true.

---

**`salesOrderDueWithinDays`**: `Int`

When set, only sales orders whose delivery is due within this many days after the calculation, or that have no date, count; 0 or more. Empty: every open sales order counts. When omitted: empty.

---

**`includeAvailabilityRequests`**: `Boolean`

Whether open availability requests from the online shop count as demand, one unit per request. When omitted: false.

---

**`includeExternalReservations`**: `Boolean`

Whether the orders of sales channels that are not imported as sales orders yet count as demand. When omitted: false.

---

**`stockTransfersAsDemand`**: `String`

Which open stock transfers of the item count as demand, as sales orders do. Known values: NONE (none), AMAZON_FULFILLMENT_ONLY (the transfers the ERP treats as transfers to Amazon fulfillment: those without an inbound purchase order, which includes direct transfers between the company's warehouses), EXCEPT_AMAZON_FULFILLMENT (the transfers with an inbound purchase order), ALL (every transfer). A client treats an unknown value as not supported. The server refuses an unknown value. When omitted: 'NONE'.

