Post-booking
Commit a flight exchange
Call get_booking first. Use booking_ref and the selected booked_item_id for every servicing action. last_name is required for guest lookup; an owning credential may omit it. The deprecated provider, order_id, provider_reference and provider_booking_id are accepted until 2027-04-30 where the request declares them; a request that sends one is answered with Deprecation and Sunset headers. A 409 item_selection_required returns safe items to choose from.
post/v1/exchange_commit
Request
- Base URLhttps://api.gojinko.com
- URLhttps://api.gojinko.com/v1/exchange_commit
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Example request
{
"booking_ref": "JNK-A0AUR2",
"last_name": "Doe",
"offer_id": "exch_offer_3c1a9f",
"quote_id": "exch_7a1c93f0"
}Response
Commit a flight exchange
Example response
{
"airline_locator": "ABC123",
"booking_ref": "JNK-A0AUR2",
"booking_reference": "JNK-A0AUR2",
"new_ticket_numbers": [
"0012345678901"
],
"status": "pending",
"payment_outcome": "ADD_COLLECT",
"checkout_url": "https://app.gojinko.com/checkout?t=eyJyIjoiY2FydCIs…"
}Changes
No recorded changes to this operation across all 1 revision of this API.