Skip to main content
POST
Create booking

Authorizations

Authorization
string
header
required

See Authentication for how to obtain and send your API key.

Headers

Accept-Language
string

Comma-separated list of languages to include. See Localization for details.

Example:

"cs_CZ,de"

Body

application/json
visit_type_id
integer
required
hotel_id
integer
required
room_type_id
integer
required
date_from
string<date>
required
date_to
string<date>
required
billed_to
object
required
guests
object[]
required

The people staying in the room. At least one guest is required, and there cannot be more guests than the requested room type has beds — a request that exceeds the room's capacity is rejected with 422.

Occupancy does not change the price: the stay always costs the room's configured price, so one guest in a double pays the double-room rate. This holds for price lists quoted per person too, because the per-person rate is multiplied by the room's bed count.

Minimum array length: 1
binding_booking
boolean
default:false
currency
enum<string>
default:CZK
Available options:
CZK,
EUR
customer_note
string | null
affilUserName
string | null

Response

Created booking or booking request.

_id
string

Object id (24-character hex string) for the same entity.

Pattern: ^[0-9a-fA-F]{24}$
Example:

"66f16191f739705faa020001"

id