v1
latestSwagger 2.02026-07-14214688.6 KBRatePlans
Update a list of base rateplans for a given period and a given base price for single occupancy.
Currently this call only allows to set the base price for non-derived rateplans if the rateplan is active and already loaded for the specified time period. <br /><br /> A request example:<br /><pre> [ { "rateplan": "STDN01", "from": "2018-01-01", "to": "2018-01-30", "base_price": 120.00 } ] </pre><br /> For more details on how the API responds to errors please check our documentation on <a href="https://developer.hetras.com/docs/errors/" onfocus="this.blur()">Error Handling</a>.<br />
put/api/hotel/v0/hotels/{hotelId}/rateplans/batch/$rates
Path parameters
hotelIdinteger required
The hotel id the rateplan belongs to.
Headers
App-Idstring required
Application identifier
App-Keystring required
Application key.
Request body
Response
The update was successful
Object required