v1

latestSwagger 2.02026-07-14214688.6 KB
YieldableRates

Saves Yieldable Rate Prices for existing Yieldable Rateplan.

Saves Yieldable Rate Prices for existing Yieldable Rateplan. The rateplan has been created before and with this End Point we create or update the rate prices. If the Yieldable rateplan prices exist it updates them with the new price if not it creates new price entries.<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>.

put/api/hotel/v0/hotels/{hotelId}/yieldable_rateplans/{rateplanCode}/$rates

Path parameters

hotelIdinteger required

Specifies the hotelId which identifies Hotel for which the operation will be performed.

rateplanCodestring required

Specifies the rateplanCode for which the operation will be performed.

Headers

App-Idstring required

Application identifier

App-Keystring required

Application key.

Request body

datestring date-time
number_of_personsinteger required

Number of persons for which the rate price is saved

rate_valuenumber double required

Rate value amount, which should be unique for the combination of rateplan, date, room type and numer of persons

room_typestring required

Room Type code for which the rate price is saved

Response

Saving the Yieldable rateplan prices was successful. You will get back the confirmation.

Object required