🎯 Enhancements​
1. Passenger Phone Number is Now OptionalAPI Endpoints:​
You can now create or update passenger information without providing a phone number.
Affected API Endpoints​
Example Request​
{
"passenger": {
"title": "Mr",
"firstName": "David",
"lastName": "James",
"email": "passenger@example.com"
},
...
}
2. Added groupId field in booking & booking history response​
A new field, groupId, has been added to several booking-related API responses and webhooks.
The following endpoints and webhooks return additional fields in their responses:
API Endpoints:
Webhooks:
- bookingCreated
- bookingStatus
Response Fields​
groupId (String, Optional)​
- Identifier of the booking group
- Example:
G1618
Example API Response​
{
"bookId": "93123613947",
"groupId": "G1618",
"status": "accepted",
"duration": 2,
"vehicle": {
"plateNumber": "ABC-1234",
"make": "Toyota",
"model": "Camry",
"color": "Black"
},
"flightNumber": "AA5633",
"corporate": {
"id": "corp_12345",
"name": "Acme Corporation"
},
"internalComment": "VIP client - priority service",
"comment": "Please call upon arrival",
...
}
Example Booking history Payload​
{
"bookingId": "93123613947",
"groupId": "G1618",
"bookingStatus": "completed",
"flightNumber": "AA5633",
"corporateId": "corp_12345",
"corporateName": "Acme Corporation",
"internalComment": "VIP client - priority service",
"notes": "Please call upon arrival",
...
}