deleteWarehouseLocation

Topics: Logistics

Delete a warehouse location from the caller's tenant and emit a deleted event. Reports a not-found result when no such location exists. Requires warehouseLocation:delete permission.

Returns

DeletePayload!

Arguments

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

Exact field SDL
"""
Delete a warehouse location from the caller's tenant and emit a deleted event. Reports a not-found result when no such location exists. Requires warehouseLocation:delete permission.
"""
deleteWarehouseLocation(
  """TypeID ("wlc") of the warehouse location to delete."""
  id: WarehouseLocationID!
): DeletePayload! @topic(names: ["logistics"])

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