Update a booking
update_bookingChange a booking. Pass its trip_id and booking_id (both from get_trip) and, under the key for its type, only the fields that change. For a flight, changed segments go in segments[] with their segment_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| hotel | No | ||
| flight | No | ||
| trip_id | Yes | The trip the booking is in. | |
| transport | No | ||
| booking_id | Yes | The booking's id, from get_trip. | |
| car_rental | No |