v1
latestSwagger 2.02026-07-141993129.2 KBPartially updates a reservation.
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 allows to update the following fields: external_id, market_code, channel_code, subchannel_code, guarantee_type, comment, addon_services, labels, guests, contact and company. <br /><br /> A request example:<br /><pre> [ { "op": "replace", "path": "/addon_services", "value": ["BREAKFAST", "PARKING"] }, { "op": "add", "path": "/labels/-", "value": "MOBILE" }, { "op": "replace", "path": "/guests/SHOW-1234", "value": { "customer_id": "SHOW-1234", "primary": false } }, { "op": "add", "path": "/guests/-", "value": { "customer_id": "SHOW-5678", "primary": true } } ] </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>.
Path parameters
The confirmation id for the booking the reservation was made.
Specifies the reservation number for the reservation that has to be updated.
Headers
Application identifier
Application key.
Request body
Response
The update was successful. Reponse would contain a referer to the updated reservation.