This endpoint provides a streamlined version of the Get Public Pricing for Trips functionality, optimizing its suitability for parsing and public display.
Currently the only acceptable value is v1.
Request Body Parameters
The unique identifier for the trip.
The start date for the trip (ISO formatted) as selected by the traveller.
The unique identifier (id) for the extra.
The number of units to account for (more than 1 if multiple units are enabled).
The unique identifier (id) for the day.
The unique identifier (id) for the extra.
The number of units to account for (more than 1 if multiple units are enabled).
A minimum of 1 traveller is required. The date of birth for the traveller. If you are not requesting for a customers date of birth, please enter in a traveller with an age between 30 and 40.
The citizenship type for the customer. Possible values are as follows:
Tanzanian, Kenyan, East African Citizen, Foreigner.
The unique identifier (uuid) for the traveller. Each uuid must be unique.
Referral code for promotion.
{
"trip_id" : 123 ,
"trip_start_date" : "2023-09-15T00:00:00.000Z" ,
"extra_costs" : {
"trip_extras" : [
{
"extra_id" : 1 ,
"units" : 2
}
],
"day_extras" : [
{
"day_id" : 1 ,
"extra_id" : 2 ,
"units" : 1
}
]
},
"travellers" : [
{
"date_of_birth" : "1990-01-01T00:00:00.000Z" ,
"citizenship" : "Foreigner" ,
"uuid" : "123e4567-e89b-12d3-a456-426614174000"
}
],
"referral_code" : ""
}
Response Body Parameters
The name of the quoted price. i.e. “Final Quoted Price”
An enum string for the currency that the trip cost was quoted in
{
"Name" : ,
"Cost" : 1500 ,
"Currency" : "USD" ,
}