Skip to main content

setProductStockLocationReorderConfiguration

Sets the reorder thresholds (reorderPoint and targetMaximumQuantity) for a product at a stock location. Pass a binLocationId to target a specific bin location, or omit it to target the warehouse-level "unknown" location. Upserts the configuration row (and its product-stock-location mapping when it does not yet exist) and returns the resulting configuration row.

Required scopes​

The token needs the product_stock_location_configurations:write access scope.

setProductStockLocationReorderConfiguration(
input: SetProductStockLocationReorderConfigurationInput!
): ProductStockLocationConfiguration!

Arguments​

setProductStockLocationReorderConfiguration.input ● SetProductStockLocationReorderConfigurationInput! non-null input​

Type​

ProductStockLocationConfiguration object​

Per-stock-location configuration for a single product. One row per product and stock location (a bin location, or the warehouse-level "unknown" location for stock not assigned to a bin location), storing the product's reorder thresholds at that location.