Skip to main content

Endpoint

DELETE /api/v1/products/{id}
Deletes a product from the system. This operation cannot be undone.

Path Parameters

id
integer
required
The unique identifier of the product to delete

Response

This endpoint returns no content on successful deletion.

Example

curl -X DELETE "https://api.furniture.com/api/v1/products/1" \
  -H "Accept: application/json"

Success Response

No content is returned. Check the HTTP status code to confirm successful deletion.

Response Codes

204
Success
Product deleted successfully. No content is returned.
404
Error
Product not found with the specified ID

Notes

Deleting a product will also remove associated records such as dimensions, inventory, images, and reviews due to cascade deletion rules. This operation cannot be undone.
Consider deactivating a product by setting is_active to false instead of deleting it if you want to preserve historical data.

Build docs developers (and LLMs) love