POST reservation
Changed onCreate a new reservation
Request
- Base URLhttps://api.bookingexperts.com
- Auth
- API key in header X-API-KEY
- or OAuth 2Authorization code/oauth/authorizeToken URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Channel ID
Query parameters
Fieldset. Specify a comma separated list of attributes to return
Includes list. Specify a comma separated list of resources to include.
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).
If set to true, validates that the reservation preview satisfies the minimum advance notice requirements.
If set to true, allows the reservation to start in the past.
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
Supported languages. A comma separated list with one or more of the following locales: cs, da-DK, de, de-AT, de-CH, en-US, en-GB, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr, en, da. Default: 'en'.
Request body
Example request
{
"data": {
"type": "reservation",
"attributes": {
"payment_guarantee": "none",
"price_according_to_channel_calculation": "total",
"license_plates": [
"75-DN-GP"
],
"currency": "EUR"
},
"relationships": {
"category": {
"data": {
"type": "category"
}
},
"rentable_type": {
"data": {
"type": "rentable_type"
}
},
"rentable_identity": {
"data": {
"type": "rentable_identity"
}
},
"inventory_object": {
"data": {
"type": "inventory_object"
}
},
"booking": {
"data": {
"type": "booking"
}
},
"order": {
"data": {
"type": "order"
}
},
"discount_card": {
"data": {
"type": "discount_card"
}
},
"primary_package": {
"data": {
"type": "primary_package"
}
},
"extra_packages": {
"data": [
{
"type": "extra_package"
}
]
},
"extra_order_items": {
"data": [
{
"type": "extra_order_item"
}
]
},
"cancellation_rules": {
"data": [
{
"type": "cancellation_rule"
}
]
},
"reservation_amenities": {
"data": [
{
"type": "reservation_amenity"
}
]
},
"available_optional_amenities": {
"data": [
{
"type": "amenity"
}
]
},
"labels": {
"data": [
{
"type": "label"
}
]
}
}
},
"included": [
{
"id": "1",
"type": "category",
"attributes": {
"country_code": "NL"
},
"relationships": {
"city": {
"data": {
"type": "city"
}
},
"terms": {
"data": {
"type": "terms"
}
},
"rentable_segment": {
"data": {
"type": "rentable_segment"
}
},
"master_price_list": {
"data": {
"type": "master_price_list"
}
},
"guest_group_limits": {
"data": [
{
"type": "guest_group_limit"
}
]
},
"administration": {
"data": {
"type": "administration"
}
},
"rent_earned_ledger_account": {
"data": {
"type": "ledger_account"
}
},
"checkin_timetable": {
"data": {
"type": "timetable"
}
},
"checkout_timetable": {
"data": {
"type": "timetable"
}
},
"images": {
"data": [
{
"type": "image"
}
]
},
"rooms": {
"data": [
{
"type": "room"
}
]
},
"rentable_type_amenities": {
"data": [
{
"type": "rentable_type_amenity"
}
]
},
"optional_amenities": {
"data": [
{
"type": "amenity"
}
]
},
"attachments": {
"data": [
{
"type": "attachment"
}
]
},
"accommodation_type": {
"data": {
"type": "accommodation_type"
}
},
"category_amenities": {
"data": [
{
"type": "category_amenity"
}
]
}
}
}
]
}Response
ReservationResponse
Example response
{
"data": {
"id": "1",
"type": "reservation",
"attributes": {
"payment_guarantee": "none",
"price_according_to_channel_calculation": "total",
"license_plates": [
"75-DN-GP"
],
"currency": "EUR",
"checkin_time": "14:00",
"checkout_time": "10:00",
"access_code": "1337",
"stay_reason": "tourism, business"
},
"relationships": {
"category": {
"data": {
"type": "category"
}
},
"rentable_type": {
"data": {
"type": "rentable_type"
}
},
"rentable_identity": {
"data": {
"type": "rentable_identity"
}
},
"inventory_object": {
"data": {
"type": "inventory_object"
}
},
"booking": {
"data": {
"type": "booking"
}
},
"order": {
"data": {
"type": "order"
}
},
"discount_card": {
"data": {
"type": "discount_card"
}
},
"primary_package": {
"data": {
"type": "primary_package"
}
},
"extra_packages": {
"data": [
{
"type": "extra_package"
}
]
},
"extra_order_items": {
"data": [
{
"type": "extra_order_item"
}
]
},
"cancellation_rules": {
"data": [
{
"type": "cancellation_rule"
}
]
},
"reservation_amenities": {
"data": [
{
"type": "reservation_amenity"
}
]
},
"available_optional_amenities": {
"data": [
{
"type": "amenity"
}
]
},
"labels": {
"data": [
{
"type": "label"
}
]
},
"administration": {
"data": {
"type": "administration"
}
},
"discount_action": {
"data": {
"type": "discount_action"
}
},
"order_items": {
"data": [
{
"type": "order_item"
}
]
},
"main_order_items": {
"data": [
{
"type": "main_order_item"
}
]
},
"available_discount_cards": {
"data": [
{
"type": "discount_card"
}
]
},
"available_primary_packages": {
"data": [
{
"type": "primary_package"
}
]
},
"available_extra_packages": {
"data": [
{
"type": "extra_package"
}
]
},
"available_extras": {
"data": [
{
"type": "extra"
}
]
},
"question_answers": {
"data": [
{
"type": "question_answer"
}
]
}
}
},
"included": [
{
"id": "1",
"type": "category",
"attributes": {
"country_code": "NL"
},
"relationships": {
"city": {
"data": {
"type": "city"
}
},
"terms": {
"data": {
"type": "terms"
}
},
"rentable_segment": {
"data": {
"type": "rentable_segment"
}
},
"master_price_list": {
"data": {
"type": "master_price_list"
}
},
"guest_group_limits": {
"data": [
{
"type": "guest_group_limit"
}
]
},
"administration": {
"data": {
"type": "administration"
}
},
"rent_earned_ledger_account": {
"data": {
"type": "ledger_account"
}
},
"checkin_timetable": {
"data": {
"type": "timetable"
}
},
"checkout_timetable": {
"data": {
"type": "timetable"
}
},
"images": {
"data": [
{
"type": "image"
}
]
},
"rooms": {
"data": [
{
"type": "room"
}
]
},
"rentable_type_amenities": {
"data": [
{
"type": "rentable_type_amenity"
}
]
},
"optional_amenities": {
"data": [
{
"type": "amenity"
}
]
},
"attachments": {
"data": [
{
"type": "attachment"
}
]
},
"accommodation_type": {
"data": {
"type": "accommodation_type"
}
},
"category_amenities": {
"data": [
{
"type": "category_amenity"
}
]
}
}
}
]
}Changes
- warning
added the new
da-DKenum value to the//response property for the response status - warning
added the new
da-DKenum value to the///////response property for the response status - warning
added the new
da-DKenum value to the///////response property for the response status - warning
added the new
en-GBenum value to the//response property for the response status - warning
added the new
en-GBenum value to the///////response property for the response status - warning
added the new
en-GBenum value to the///////response property for the response status - warning
added the new
en-USenum value to the//response property for the response status - warning
added the new
en-USenum value to the///////response property for the response status - warning
added the new
en-USenum value to the///////response property for the response status - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
/////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
/////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
the request optional property
///////became read-only - info
the request optional property
///////became read-only - info
the request optional property
///////became read-only - info
the request optional property
///////became read-only - info
the request optional property
///////became read-only - info
the request optional property
///////became read-only - info
added the new
da-DKenum value to the request property// - info
added the new
da-DKenum value to the request property/////// - info
added the new
da-DKenum value to the request property/////// - info
added the new
en-GBenum value to the request property// - info
added the new
en-GBenum value to the request property/////// - info
added the new
en-GBenum value to the request property/////// - info
added the new
en-USenum value to the request property// - info
added the new
en-USenum value to the request property/////// - info
added the new
en-USenum value to the request property/////// - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
the response optional property
///////became read-only for the status - info
the response optional property
///////became read-only for the status - info
the response optional property
///////became read-only for the status - info
the response optional property
///////became read-only for the status - info
the response optional property
///////became read-only for the status - info
the response optional property
///////became read-only for the status - info
response property
included/items/anyOf[DiscountAction]/relationships/discount_campaigndeprecated - info
response property
included/items/anyOf[DiscountAction]/relationships/discount_campaign/datadeprecated - info
response property
included/items/anyOf[DiscountAction]/relationships/discount_campaign/data/iddeprecated - info
response property
included/items/anyOf[DiscountAction]/relationships/discount_campaign/data/metadeprecated - info
response property
included/items/anyOf[DiscountAction]/relationships/discount_campaign/data/meta/methoddeprecated - info
response property
included/items/anyOf[DiscountAction]/relationships/discount_campaign/data/meta/temp_iddeprecated - info
response property
included/items/anyOf[DiscountAction]/relationships/discount_campaign/data/typedeprecated
- warning