added
Extending Supply and Booking APIs with Vehicle Make, Model, and Colour
over 1 year ago by Dan Cook
What’s new?
We're extending both our Booking and Supply API with a more structured approach to describing vehicles. This will allow partners to reliably present vehicle information back to their users.
Supply API changes:
We are adding three new vehicle details to our supply trip object:
vehicle.make
: the name of the vehicle brand (e.g., Audi, BMW, Toyota)vehicle.model
: the name of the vehicle model (e.g., A4, 5-series, Avensis)vehicle.colour
: the name of the vehicle colour
Booking API changes:
Similar changes have been made to the Bookings API to reflect the updates in the supply API:
vehicle.make
: the name of the vehicle brand (e.g., Audi, BMW, Toyota)vehicle.model
: the name of the vehicle model (e.g., A4, 5-series, Avensis)vehicle.colour
: the name of the vehicle colour
Vehicle colour is an ENUM object. Here's a list of currently supported values:
BLACK
BLUE
BROWN
GOLD
GRAY
GREEN
ORANGE
PURPLE
RED
SILVER
TAN
WHITE
YELLOW