getWarehouseStock

Topics: Logistics

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

Returns

WarehouseStockState

Arguments

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

Exact field 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"])

Declared on Query. Access is checked by the platform for each operation.