> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zenflow.com.ar/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Product

> Delete (deactivate) a product

# Delete Product

Soft-delete a product by setting it as inactive.

<Note>Requires `write:products` scope.</Note>

## Request

```bash theme={null}
DELETE /api/v1/products/{id}
```

### Path Parameters

<ParamField path="id" type="integer" required>
  The product ID
</ParamField>

## Example

```bash theme={null}
curl -X DELETE "https://api.zenflow.com.ar/api/v1/products/100" \
  -H "X-API-Key: zenflow_live_your_key"
```

### Response

```json theme={null}
{
  "success": true,
  "data": {
    "message": "Product deleted successfully",
    "product_id": 100
  }
}
```

## Error Response

```json theme={null}
{
  "success": false,
  "error": {
    "code": "not_found",
    "message": "Product not found"
  }
}
```

<Note>
  Products are soft-deleted (marked as inactive) rather than permanently
  removed. This preserves order history that references the product.
</Note>
