Skip to main content
POST
/
booking
Create booking
curl --request POST \
  --url https://spaportal.cz/api/v1/booking \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "binding_booking": true,
  "currency": "EUR",
  "visit_type_id": 1,
  "hotel_id": 1,
  "room_type_id": 1,
  "date_from": "2026-04-01",
  "date_to": "2026-04-21",
  "customer_note": "I prefer the corner room on the third floor.",
  "affilUserName": "e-shop@pawlik-aquaforum.cz",
  "billed_to": {
    "gender": "male",
    "first_name": "Bohuslav",
    "last_name": "Martinu",
    "email": "bohuslav@example.com",
    "phone": "+420355455675",
    "consent_marketing": true,
    "address": {
      "street": "Milady Horakove",
      "house_number": "5A",
      "city": "Praha",
      "zip_code": "16000",
      "country": "CZE"
    }
  },
  "guests": [
    {
      "gender": "female",
      "first_name": "Charlotte",
      "last_name": "Martinu",
      "birth_date": "1894-01-01",
      "loyalty_program_id": 1,
      "loyalty_program_code": "GOLD000001"
    }
  ]
}
'
{
  "_id": "66f16191f739705faa020009",
  "id": "66f16191f739705faa020009"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string

Comma-separated list of languages to include.

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