Skip to main content

setProductWarehouseReorderConfiguration

Sets the reorder thresholds (reorderPoint and targetMaximumQuantity) for a product in a warehouse. Upserts the (product, warehouse) configuration row: an existing row is updated, otherwise a new row is created. Returns the resulting configuration row.

setProductWarehouseReorderConfiguration(
input: SetProductWarehouseReorderConfigurationInput!
): ProductWarehouseConfiguration!

Arguments

setProductWarehouseReorderConfiguration.input ● SetProductWarehouseReorderConfigurationInput! non-null input

Type

ProductWarehouseConfiguration object

Per-warehouse configuration for a single product. One row per (product, warehouse) pair, storing the product's default bin location for that warehouse and its reorder thresholds. The default bin location is the bin proposed when stock for the product is put away in the warehouse.