Skip to main content
DELETE
https://api.zenflow.com.ar
/
api
/
v1
/
products
/
{id}
Delete Product
curl --request DELETE \
  --url https://api.zenflow.com.ar/api/v1/products/{id} \
  --header 'X-API-Key: <api-key>'

Delete Product

Soft-delete a product by setting it as inactive.
Requires write:products scope.

Request

DELETE /api/v1/products/{id}

Path Parameters

id
integer
required
The product ID

Example

curl -X DELETE "https://api.zenflow.com.ar/api/v1/products/100" \
  -H "X-API-Key: zenflow_live_your_key"

Response

{
  "success": true,
  "data": {
    "message": "Product deleted successfully",
    "product_id": 100
  }
}

Error Response

{
  "success": false,
  "error": {
    "code": "not_found",
    "message": "Product not found"
  }
}
Products are soft-deleted (marked as inactive) rather than permanently removed. This preserves order history that references the product.