added
Supporting Follow On Trips
8 months ago by Alex Everitt
Whats New on Bookings API?
- When fleets provide information that a trip is a follow up trip we can now pass this information on to the bookings partner through the bookings API.
- This information can be found in the StateDetails field of the booking API get trip response. For more information on how to consume this field see here.
- A follow up trip can be simulated using our fleet simulator by specifying the flag
is_follow_on=true
in the passenger notes when making a booking. For more information on simulating follow up trips see here - The TripStatus webhook has been extended with a new field,
StateDetails
to provide this information via webhooks, it can be consumed the same way as the field on the bookings API..
Whats New on Supply API?
- The Supply API has been extended with a new field
StateDetails
which can be found inside theTripStatus
object. You can use the value FOLLOW_ON in combination with the state DRIVER_EN_ROUTE to specify the driver is completing a follow up trip.