getWarehouseLocation

Topics: Logistics

Fetch a single warehouse location in the caller's tenant by id; null when no such location exists. Requires warehouseLocation:read permission.

Returns

WarehouseLocationState

Arguments

TypeID ("wlc") of the warehouse location to fetch.

Exact field SDL
"""
Fetch a single warehouse location in the caller's tenant by id; null when no such location exists. Requires warehouseLocation:read permission.
"""
getWarehouseLocation(
  """TypeID ("wlc") of the warehouse location to fetch."""
  id: WarehouseLocationID!
): WarehouseLocationState @topic(names: ["logistics"])

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