Update a single pricing setting for a listing.
PUT/preferences/:listing_id/:setting
Updates one of the following settings to a preset level (conservative/recommended/aggressive), or toggles automatic rate posting on/off.
| Setting | Accepted parameters |
|---|---|
base_price_adjustment | type: CON, REC, or AGG |
seasonality_adjustment | type: CON, REC, or AGG |
last_minute_discount | type: CON, REC, or AGG |
far_future_premium | type: CON, REC, or AGG |
automatic_rate_posting | enabled: true or false |
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 423
- 429
The setting was updated successfully. No content is returned.
Invalid or missing parameter.
API key authorization failed.
Listing authorization failed, or the API key is read-only and may not be used with PUT.
Listing not found.
Another request is already in progress for this listing. Retry after the concurrent request completes.
Listing preferences not yet initialized.
Rate limit exceeded — the API key has sent too many requests. Wait before retrying. See the Rate Limits section in the overview for the recommended exponential backoff strategy.