Skip to content

List a fare's options

Returns a Book-on-Wego fare's bookable options (price, baggage, refundability, change/cancel penalties), cheapest-first.

GET /v1/flights/fares/{fareId}/options

Returns a Book-on-Wego fare’s bookable options (price, baggage, refundability, change/cancel penalties), cheapest-first. Only a kind:“wego” fare has options; any other fareId is rejected 400 - use that fare’s handoffUrl. A stale id returns 404.

Operation ID: getFareOptions

Parameters

Name In Type Required Description
fareId path string yes The Book-on-Wego fare id from a flight-search trip detail.
currency query string no
locale query string no

Responses

Status Description
200 The fare options, cheapest-first.
400 Invalid request query/path parameters, or the fares service rejected the fareId or currency (validation_failed; the detail names the recovery).
401 Missing or invalid bearer token.
404 The fare was not found or its search has expired.
429 Rate limit exceeded; retry after the Retry-After seconds.
502 The upstream flights service returned an invalid response.
503 The flights service is temporarily unavailable; retry after the Retry-After seconds.

Example

curl -s -H "Authorization: Bearer $TOKEN" \
  "https://api.wego.com/v1/flights/fares/$FARE_ID/options"
Navigation

Type to search…

↑↓ navigate↵ selectEsc close