New Booking
Subscribe to new bookings being created, to update integrations for your users. Related data is available via the links provided in the request.
Body Required
-
trip_id string(uuid)
Identifier of the booked trip
-
passenger_name string
Name of the passenger
-
has_bicycle boolean
Indicates whether the passenger has a bicycle.
-
has_dog boolean
Indicates whether the passenger has a dog.
-
links object
Additional properties are allowed.
Request example
{
"id": "efdbb9d1-02c2-4bc3-afb7-6788d8782b1e",
"links": {
"self": "https://api.example.com/bookings/1725ff48-ab45-4bb5-9d02-88745177dedb"
},
"has_dog": true,
"trip_id": "efdbb9d1-02c2-4bc3-afb7-6788d8782b1e",
"has_bicycle": true,
"passenger_name": "John Doe"
}