Skip to main content

SetProductWarehouseReorderConfigurationInput

Input for setProductWarehouseReorderConfiguration. Sets the replenishment thresholds for a product in a warehouse, upserting the underlying (product, warehouse) configuration row.

input SetProductWarehouseReorderConfigurationInput {
productId: ID!
warehouseId: ID!
reorderPoint: Int
targetMaximumQuantity: Int
}

Fields​

SetProductWarehouseReorderConfigurationInput.productId ● ID! non-null scalar​

ID of the product.

SetProductWarehouseReorderConfigurationInput.warehouseId ● ID! non-null scalar​

ID of the warehouse.

SetProductWarehouseReorderConfigurationInput.reorderPoint ● Int scalar​

Replenish-from level ("Replenish from" in Pickware): stock level at or below which this warehouse needs replenishment of the product. Must be 0 or greater when set. Together with a targetMaximumQuantity, 0 means the warehouse needs replenishment once it is out of stock. Pass null (or omit) to leave it unset; passing null for both thresholds removes them.

SetProductWarehouseReorderConfigurationInput.targetMaximumQuantity ● Int scalar​

Replenish-up-to level ("Replenish up to" in Pickware): stock level a replenishment refills this warehouse 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.

Member Of​

setProductWarehouseReorderConfiguration mutation