SetProductStockLocationReorderConfigurationInput
Input for setProductStockLocationReorderConfiguration. Sets the reorder 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! non-null scalar
Stock level at or below which the product is considered to need reordering at this stock location. Must be 0 or greater.
SetProductStockLocationReorderConfigurationInput.binLocationId ● ID scalar
ID of the bin location. Pass null (or omit) to target the warehouse-level "unknown" location.
SetProductStockLocationReorderConfigurationInput.targetMaximumQuantity ● Int scalar
Target maximum stock quantity used as the replenish-to level for the product at this stock location. Must be 0 or greater when set. Pass null (or omit) to clear it.