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

# RestockSuggestionDemandSettingsChangesInput

> 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. Only the settings that are sent change; sending null clears a setting that can be empty.



**Kind**: `input`

## Fields

**`includePaidSalesOrders`**: `Boolean`

Whether paid open sales orders count. It cannot be cleared.

---

**`unpaidSalesOrders`**: `RestockSuggestionUnpaidSalesOrders`

Which unpaid open sales orders count. It cannot be cleared.

---

**`includeSalesOrdersDeliveredBeforePayment`**: `Boolean`

Whether open sales orders whose payment method delivers before payment count, paid or not. It cannot be cleared.

---

**`includeOnHoldSalesOrders`**: `Boolean`

Whether sales orders on hold count. A sales order held for a reason that excludes it from the purchase list never counts. It cannot be cleared.

---

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

---

**`includeAvailabilityRequests`**: `Boolean`

Whether open availability requests from the online shop count as demand, one unit per request. It cannot be cleared.

---

**`includeExternalReservations`**: `Boolean`

Whether the orders of sales channels that are not imported as sales orders yet count as demand. It cannot be cleared.

---

**`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. It cannot be cleared.

