Skip to main content

adjustStockAtWarehouse

Applies a relative delta (positive or negative) to the per-warehouse stock total for a (product, warehouse[, batch]) tuple. Writes one stock movement against the stock-correction special location.

adjustStockAtWarehouse(
input: AdjustStockAtWarehouseInput!
): WarehouseStock!

Arguments

adjustStockAtWarehouse.input ● AdjustStockAtWarehouseInput! non-null input

Type

WarehouseStock object

Per-warehouse aggregate stock line for a product. One line per (product, warehouse) tuple, maintained by Pickware as a denormalised sum of the matching per-bin Stock lines. Use this when you want "how much of this product lives in warehouse X" without scanning per-bin lines.