Skip to main content
Deleting a product cascades to delete its inventory record and all associated stock movements. This action cannot be undone.

Endpoint

DELETE /api/products/:id

Authentication

Authorization
string
required
Bearer token. Format: Bearer <token>

Path parameters

id
string
required
Product UUID.

Response

success
boolean
true on successful deletion.

Examples

curl --request DELETE \
  --url http://localhost:5000/api/products/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  --header 'Authorization: Bearer <token>'

Example response

{
  "success": true
}

Build docs developers (and LLMs) love