Set a custom rate
PUT/listings/:listing_id/custom_rates
Defines a custom rate (an override of recommended pricing) for a date range. A rate_type of fixed
defines a fixed rate in the specified currency. A rate_type of adjustment defines a percentage-based adjustment to the recommended price.
Fixed Rate Example:
Specifying the currency as "USD", a day of week value of 500 for sunday, 750 for friday
and 625 for saturday will set the rates for those days during the specified date range to
$500, $750 and $625, respectively.
Adjustment Rate Example:
An adjustment value of 115 would mean a 15% increase in price, while a value of 75 would
indicate a decrease of 25% from the recommended price. In cases where both an adjustment and
day of week values are given, the adjustment will act as the default value for the non-specified
days of week. So setting an adjustment of 115 and specifying 125 for sunday, 145 for friday
and 135 for saturday would results in a 25% increase for Sunday, a 15% increase for Monday-Thursday,
a 45% increase for Friday and a 35% increase for Saturday.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Created custom rate.
Validation failed
API key authorization failed
Listing authorization failed
Listing not found
Another request is already in progress for this listing. Retry after the concurrent request completes.