Airport Parking - synchronous

Booking

POST /api/booking

This endpoint allows you to make an airport parking booking in one go. To successfully create a booking, you need to provide booking details, customer details, and additional parameters. Ensure you include the searchId, productId, and optionId, which are obtained from the Search API endpoint results.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

booking

object

Booking Details

booking.searchId

string

Search ID

booking.type

string

Parking OR Hotel OR Lounge

booking.productId

string

product ID you trying to book

booking.optionId

string

option ID of the product you trying to book

customer

object

Customer Details

customer.title

string

customer.firstName

string

customer.lastName

string

customer.email

string

customer.phone

string

params

array of objects

params.flights

array of objects

flight details

params.flights.flightNumber

string

params.flights.direction

string

inbound or outbound

params.flights.terminal

string

params.vehicle

object

params.vehicle.reg

string

params.vehicle.make

string

params.vehicle.model

string

params.vehicle.colour

string

params.vehicle.passengers

integer

Response

Last updated