Deletes a product.
v1/products/delete.php
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| product_id | int | Yes | Product ID |
Example request
{
"product_id": 3120
}
Example response
{
"success": true
}
Errors
| Error | Reason |
|---|---|
| No product_id in input | product_id is missing |
| Product not found or access denied | Product not found or already deleted |