Delete inventory count (DRAFT only)
DELETE/api/v2/inventory-counts/:id
Deletes a DRAFT inventory count. A FINALIZED count cannot be deleted; create a compensating inventory-entry/inventory-exit instead.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- 500
Inventory count deleted
Missing or invalid JWT (Bearer token).
Authenticated user is missing the BORRAR_INVENTARIOS permission
Inventory count not found
Version conflict ÔÇö the resource was modified by another user since the version supplied in If-Match was issued. Also returned when the count is already FINALIZED.
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.