delete
https://api.duodeal.app/api/products/
Permanently deletes a product by its ID.
Warning: This will also delete all associated product prices. If the product is referenced in quotation lines, the deletion may fail or leave orphaned references.
Consider archiving the product instead of deleting it to preserve historical data:
PUT /api/products/:id
{"archived": true}Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Product unique identifier |
Response
204 No Content: Product successfully deleted401 Unauthorized: Invalid or missing API key404 Not Found: Product not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204Resource deleted
401Unauthorized
404Resource not found
