SetProductStockLocationReorderConfigurationInput
Input for setProductStockLocationReorderConfiguration. Sets the replenishment thresholds for a product at a stock location, upserting the underlying configuration row (and its product-stock-location mapping when it does not yet exist). Pass a binLocationId to target a specific bin location; omit it (or pass null) to target the warehouse-level "unknown" location for stock that is in the warehouse but not assigned to a bin.
input SetProductStockLocationReorderConfigurationInput {
productId: ID!
warehouseId: ID!
reorderPoint: Int
binLocationId: ID
targetMaximumQuantity: Int
}
Fields
SetProductStockLocationReorderConfigurationInput.productId ● ID! non-null scalar
ID of the product.
SetProductStockLocationReorderConfigurationInput.warehouseId ● ID! non-null scalar
ID of the warehouse the stock location belongs to.
SetProductStockLocationReorderConfigurationInput.reorderPoint ● Int scalar
Replenish-from level ("Replenish from" in Pickware): stock level at or below which this stock location needs replenishment of the product. Must be 0 or greater when set. Together with a targetMaximumQuantity, 0 means the stock location needs replenishment once it is out of stock. Pass null (or omit) to leave it unset; passing null for both thresholds removes them.
SetProductStockLocationReorderConfigurationInput.binLocationId ● ID scalar
ID of the bin location. Pass null (or omit) to target the warehouse-level "unknown" location.
SetProductStockLocationReorderConfigurationInput.targetMaximumQuantity ● Int scalar
Replenish-up-to level ("Replenish up to" in Pickware): stock level a replenishment refills this stock location to. It is a target, not a capacity limit: storing more is allowed. Must be 0 or greater when set. Pass null (or omit) to clear it.