Build (lock) a flight fare

Lock and return a fully-priced flight fare. Confirms the price with the provider before booking. Requires the Mercury fareId (UUID) returned by POST /v1/flights/fares; unknown or expired identifiers return 410 OFFER_EXPIRED. The returned fare is valid for a limited time window.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

POST body for POST /v1/flights/fares/build.

string
required

Fare ID from the fares SSE stream.

Search-solutions ID for lineage context.

Provider lineage key from the parent search result.

Responses

401

Missing or invalid authentication

404

Fare not found or expired

410

Fare expired; refresh fare search

422

Invalid fare parameters

503

Flight fare provider unavailable

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json