← API reference
Query / logistics

getWarehouseStock

Fetch a single warehouse stock record in the caller's tenant. Returns null when no such record exists. Requires read access to warehouse stock.

Arguments

WarehouseStock TypeID (wst_…) of the record to fetch.

Returns WarehouseStockState

Scalar fields at a glance

materialLotIdMaterialLotID
quantityFloat!
reservedQuantityFloat!
↗ View the complete WarehouseStockState type

Explore in a view

Fulfillment
View exact SDL
"""
Fetch a single warehouse stock record in the caller's tenant. Returns null when no such record exists. Requires read access to warehouse stock.
"""
getWarehouseStock(
  """WarehouseStock TypeID (`wst_…`) of the record to fetch."""
  id: WarehouseStockID!
): WarehouseStockState @topic(names: ["logistics"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.