Skip to main content

warehouseStock

Loads a single WarehouseStock by id.

Required scopes​

The token needs the stocks:read access scope.

warehouseStock(
id: ID!
): WarehouseStock

Arguments​

warehouseStock.id ● ID! non-null scalar​

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.