v1
latestSwagger 2.02026-07-14214688.6 KBPartially update a rate of the specified rateplan for the defined time period.
The hetras API is using this <a href="https://developer.hetras.com/docs/patch" onfocus="this.blur()" target="_blank">Patch Specification</a> to partially update an existing resource. 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> [ { "op": "replace", "path": "/base_price", "value": 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 />
Path parameters
The hotel id the rateplan belongs to.
The code of the rateplan you want to update the daily rate details for.
Query parameters
Defines the last business day you would like to get rates for. The maximum time span between <i>from</i>´and <i>to</i> is limited to 365 days.
Defines the first business day you would like to get rates for.
Headers
Application identifier
Application key.
Request body
Response
The update was successful