Flights
Upselling
get/flights-api/upselling/{choice_id}
Request
- Base URLhttps://api-dev.despegar.com/v3
- URLhttps://api-dev.despegar.com/v3/flights-api/upselling/{choice_id}
- AuthAPI key in header x-apikey
Path parameters
choice_idstring required
Query parameters
sitestring required
site
language'PT' | 'ES' | 'EN'
If omitted, the message is sent in English (EN) by default. If a value other than the supported ones listed below is provided, the message will not be sent.
Response
OK
Example response
{
"items": [
{
"choice_id": "eyJ0eXBlIjoiRkxJR0hUIn0=",
"title": "Azul",
"fare_items": [
[
{
"type": "BAGGAGE",
"include": true,
"inclusion_status": "INCLUDED_WITH_PENALTY",
"message": "Cambio de fecha con penalidad de R$645",
"penalty": 645
}
]
],
"price_detail": {
"total": 319,
"currency": "BRL",
"items": [
{
"type": "ADULTS",
"amount": 245,
"message": "1 Adulto"
}
]
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.