Delete Product
DELETE/inventory-management/api/v1/Products/:id
Removes a product from the system. The product cannot be deleted if it has associated inventory or transaction history.
Request
Responses
- 200
- 204
- 400
- 404
- 500
OK
If the product was successfully deleted
If the product cannot be deleted (e.g., has inventory or transaction history)
If the product with the specified ID is not found
If an error occurs while deleting the product