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

# Delete Coupon

> Delete a coupon. Cannot delete coupons with associated orders.

## Path Parameters

<ParamField path="code" type="string" required>
  The unique code of the coupon to delete
</ParamField>

## Example Request

```bash theme={null}
DELETE /wp-json/latepoint-api/v1/coupons/TEST2025
Authorization: Bearer YOUR_API_KEY
```

## Response

```json theme={null}
{
  "success": true,
  "message": "Coupon deleted successfully"
}
```

## Error Response

If the coupon has associated orders, you will receive an error:

```json theme={null}
{
  "success": false,
  "message": "Cannot delete coupon with associated orders"
}
```
