Pricing & booking
Select ancillaries (baggage, seats, meals) for a trip item
post/v1/select_ancillaries
Request
- Base URLhttps://api.gojinko.com
- URLhttps://api.gojinko.com/v1/select_ancillaries
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Example request
{
"trip_id": "trip_1048576",
"item_id": "itm_4b91c2",
"selections": [
{
"offer_id": "anc_3f9a1c27e4b8d051",
"traveler_ref": "pax_1",
"quantity": 1
},
{
"offer_id": "anc_9b04e7d2c6a1f835",
"traveler_ref": "pax_1",
"segment_ref_ids": [
"seg_1"
],
"seat_number": "14A"
}
]
}Response
Updated ancillary selection
Example response
{
"trip_id": "trip_1048576",
"item_id": "itm_4b91c2",
"quoted_item_id": 8810231,
"selected_ancillaries": [
{
"offer_id": "anc_3f9a1c27e4b8d051",
"traveler_ref": "pax_1",
"pax_ref_id": "pax_1",
"quantity": 1,
"type": "seat",
"seat_number": "14A",
"segment_ref_ids": [
"seg_1"
],
"price": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
},
"price_money": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
}
}
],
"total_with_ancillaries": {
"value": 41250,
"currency": "USD",
"decimal_places": 2,
"display": "USD 412.50"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.