Skip to main content
POST
Create booking

Authorizations

x-api-key
string
header
required

Partner API key, sent in the x-api-key request header. Required for bookable offer search and all booking operations. To obtain a key, register as a PREXSELL partner in the backoffice (backoffice.prexsell.com, or staging.backoffice.prexsell.com for staging) and contact support if you need help.

Body

application/json

Create booking request body.

offerId
string
required

20-minute offer JWT from GET /v2/offers. Applies to all passengers in this booking.

Example:

"eyJ..."

currency
enum<string>
required

Ticket currency (single source: CURRENCIES). Applies to all passengers in this booking.

Available options:
CZK,
UAH,
EUR,
USD,
PLN
Example:

"UAH"

passengers
object[]
required

One record per passenger. Minimum 1.

Minimum array length: 1
note
string

Optional booking note.

Example:

"Window seat please"

Response

Booking created.

data
object
required

Create booking result.