Delete product
DELETE/api/v2/products/:id
Deletes a product and all of its variants (cascade). Send the If-Match header with the current ETag for optimistic concurrency control. Products referenced by sales documents cannot be deleted and return 409 Conflict.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- 500
Product deleted
Missing or invalid JWT (Bearer token).
Authenticated user is missing the BORRAR_MODELOS permission
Product not found
Version conflict ÔÇö the resource was modified by another user since the version supplied in If-Match was issued. Also returned when the product is referenced by sales documents.
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.