# Remove custom rates

`DELETE /listings/{listing_id}/custom_rates`

> Wheelhouse Pro API. Web version: https://docs.usewheelhouse.com/pro/reference/del-custom-rate · OpenAPI spec: https://docs.usewheelhouse.com/pro/openapi.yaml · Operation ID: `delCustomRate` · Tag: Listings · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

Remove all custom rates from Wheelhouse for the affected stay dates. Any partially covered custom rates will be adequately shortened and the affected date range will be set to the recommended price again. These will then reflect both in the Wheelhouse UI and in the prices returned from the [recommendations endpoint](https://docs.usewheelhouse.com/pro/reference/price-recommendations-tag.md).

## Request

`DELETE https://api.usewheelhouse.com/ss_api/v1/listings/{listing_id}/custom_rates`

Authentication: send your integration API key in the `X-Integration-API-Key` header and your user API key in the `X-User-API-Key` header (see https://docs.usewheelhouse.com/pro/authentication.md).

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `listing_id` | string | yes | The integration partner's unique listing identifier. |

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `start_date` | string (date) | yes | The inclusive start of the stay-date range where any custom rate is removed (YYYY-MM-DD). |
| `end_date` | string (date) | yes | The inclusive end of the stay-date range where any custom rate is removed (YYYY-MM-DD). |

### Example request

```bash
curl -X DELETE 'https://api.usewheelhouse.com/ss_api/v1/listings/{listing_id}/custom_rates?start_date=<start_date>&end_date=<end_date>' \
  -H 'X-Integration-API-Key: <your integration API key>' \
  -H 'X-User-API-Key: <your user API key>'
```

Only required parameters and body fields are filled in, with placeholder values. Add the optional ones you need from the lists above; some are required in combination, as their descriptions say.

## Responses

### 204

Delete succeeded

### 400

Validation failed

### 401

API key authorization failed

### 403

Listing authorization failed

### 404

Listing not found
