updateWarehouseLocation

Topics: Logistics

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.

Returns

WarehouseLocationPayload!

Arguments

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

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

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

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