← API reference
Mutation / logistics

deleteWarehouseStock

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.

Arguments

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

Returns DeletePayload!

Scalar fields at a glance

successBoolean!
↗ View the complete DeletePayload type

Explore in a view

Fulfillment
View exact 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"])

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