POST reservation

Create a new reservation

Path Params
string
required

Channel ID

Query Params
string

Fieldset. Specify a comma separated list of attributes to return

string

Includes list. Specify a comma separated list of resources to include.

boolean

If set to true, makes the reservation confirmed. A confirmed reservation will not expire. Unconfirmed reservations will expire based on the temporary_booking_validity_in_hours attribute of the channel (by default 1 hour).

boolean
Defaults to false

If set to true, validates that the reservation preview satisfies the minimum advance notice requirements.

boolean
Defaults to false

If set to true, allows the reservation to start in the past.

boolean
Defaults to false

If set to true, validates that the stay of the reservation preview does not exceed the maximum length of stay supported by the availability cache (30).

Body Params
data
object

A reservation of a single accommodation (InventoryObject) as part of a Booking. Each Reservation in a Booking may have mutiple order items. The total price of a Booking is the sum of all order items belonging to its reservations.

included
array
included
Headers
string

Supported languages. A comma separated list with one or more of the following locales: cs, da, de, de-AT, de-CH, en, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr. Default: 'en'.

Responses

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.api+json