← API reference
Mutation / logistics

updateWarehouseLocation

Apply a partial update to an existing warehouse location and emit an updated event. Returns an error payload when the id is unknown in the caller's tenant or the result fails validation. Requires warehouseLocation:write permission.

Arguments

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

The fields to change; omitted fields keep their current values.

Returns WarehouseLocationPayload!

Explore in a view

Fulfillment
View exact SDL
"""
Apply a partial update to an existing warehouse location and emit an updated event. Returns an error payload when the id is unknown in the caller's tenant or the result fails validation. Requires warehouseLocation:write permission.
"""
updateWarehouseLocation(
  """TypeID ("wlc") of the warehouse location to update."""
  id: WarehouseLocationID!
  """The fields to change; omitted fields keep their current values."""
  input: UpdateWarehouseLocationInput!
): WarehouseLocationPayload! @topic(names: ["logistics"])

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