deleteWarehouseStock

Topics: Logistics

Permanently delete a warehouse stock record from the caller's tenant. Reports not-found when no such record exists. Emits a warehouse-stock deleted event. Requires delete access to warehouse stock.

Returns

DeletePayload!

Arguments

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

Exact field SDL
"""
Permanently delete a warehouse stock record from the caller's tenant. Reports not-found when no such record exists. Emits a warehouse-stock deleted event. Requires delete access to warehouse stock.
"""
deleteWarehouseStock(
  """WarehouseStock TypeID (`wst_…`) of the record to delete."""
  id: WarehouseStockID!
): DeletePayload! @topic(names: ["logistics"])

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