v1
latestSwagger 2.02026-07-141993129.2 KBBookings
Create a new booking.
Create a new booking as defined in the requests payload. You can get more information about the payload if you check out the documentation for the reservation request model.<br /> Please also have a look at the <a href="https://developer.hetras.com/docs/tutorials" onfocus="this.blur()">Tutorials</a>.<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>.
post/api/booking/v0/bookings
Query parameters
sendConfirmationboolean
Whether to send a confirmation email to the primary guest
Headers
App-Idstring required
Application identifier
App-Keystring required
Application key.
Request body
Response
The creation of the booking was successful. You will get back the confirmation id and maybe warnings, if e.g. the prepayment could not be captured.