Preview price recommendations with custom preferences
POST/preferences/:id/preview
Returns price recommendations as if the provided preferences were applied to the listing, without saving any changes. You can use this endpoint to preview what recommendations would look like with different preference settings before applying them. The response format is identical to the GET /listings/{id}/price_recommendations endpoint, with the exception of the global_min_stay and automatic_rate_posting_enabled fields, which are not included in the preview response.
This is useful for testing different preference configurations or showing users what their pricing would look like with different settings.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
Successfully generated preview recommendations
A setting in the request has the wrong shape; the message names the field.
API key authorization failed
Listing authorization failed
Listing not found
Listing not covered by a market