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

# Delete promotion code

> Delete a promotion code

## Endpoint

```
DELETE https://api.partnero.com/v1/promotion-codes
```

## Request Body

| Parameter          | Type   | Required | Description               |
| ------------------ | ------ | -------- | ------------------------- |
| `code`             | string | Yes      | Promotion code to delete  |
| `coupon`           | object | Yes      | Parent coupon reference   |
| `coupon.uuid_code` | string | Yes      | UUID of the parent coupon |

## Request

```bash cURL theme={null}
curl --location --request DELETE 'https://api.partnero.com/v1/promotion-codes' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "code": "PROMO123",
    "coupon": {
      "uuid_code": "coupon_123"
    }
  }'
```

## Response

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "data": {
      "status": 1,
      "message": "Promotion code deleted in the app successfully"
    }
  }
  ```
</ResponseExample>
