v1

latestOpenAPI 3.0.02026-07-243271291.7 MB
Channel Reservations

POST reservation

Create a new reservation

post/v3/channels/{channel_id}/reservations

Path parameters

channel_idstring required

Channel ID

Query parameters

fields[reservation]string

Fieldset. Specify a comma separated list of attributes to return

includestring

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

confirmboolean

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).

validate_minimum_advance_noticeboolean

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

allow_reservations_in_the_pastboolean

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

validate_length_of_stay_does_not_exceed_max_av_cache_length_of_stayboolean

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).

Headers

Accept-Languagestring

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'.

Response

ReservationResponse