Skip to main content
POST
/
v1
/
public
/
bookings
/
sessions
/
bootstrap
Bootstrap booking session
curl --request POST \
  --url https://{operatorDomain}/v1/public/bookings/sessions/bootstrap \
  --header 'Content-Type: application/json' \
  --data '
{
  "departureId": "<string>",
  "pax": [
    {}
  ],
  "rooms": [
    {}
  ],
  "extras": [
    {}
  ],
  "offers": [
    "<string>"
  ]
}
'
{
  "sessionId": "<string>",
  "intentId": "<string>",
  "status": "succeeded",
  "checkoutUrl": "<string>"
}

Body

application/json
departureId
string
required
pax
object[]
rooms
object[]
extras
object[]
offers
string[]

Response

200 - application/json

Booking session / intent

sessionId
string | null
intentId
string | null
status
string
Example:

"succeeded"

checkoutUrl
string<uri> | null