Delete Inventory
DELETE/api/inventories/deleteinventory/:id
Tier: Internal — subject to change without notice.
Soft-deletes a stocktake.
Request
Responses
- 200
- 400
- 401
- 403
true. Raises the InventoryDeleted system event.
Unknown id — NotFound; the stocktake is already Complete — InvalidOperation (note: Rejected stocktakes remain deletable, only Complete is blocked).
Caller is not authenticated.
Caller does not have Delete permission on the Inventory module.