Booking Create
This endpoint use POST method to create the booking. Request headers have to include the token on the authentication key.
Endpoint
POST https://{{base_url}}/api-v2/booking/
Request and response format and explanation of every field
Request
{
"passenger": {
"name": "PRUEBA",
"last_name": "PRUEBA",
"country": "Chile",
"email": "test@test.com",
"passport_or_dni": "123123123",
"phone": "+56999999999"
},
"notes": "GENERAL TEST NOTE",
"reference_number": "REF1234",
"currency": "CLP",
"services": [
{
"service_code": 44220,
"adults": 2,
"children": 0,
"sale_price": 56000,
"language": "Español",
"travel_date": "2024-10-10",
"flight_number": "FLX234",
"notes": "TEST NOTE FOR SERVICE"
}
],
}