Get and revalidate an offer
Before you book, fetch the offer once more. This revalidates it against the source: it re-prices the fare and confirms it is still available, then stores the confirmed fare so you can create an order from it.
Get an offer
Requires the flights:read scope. The {id} is the ofr_ id from a search.
curl https://api.hermeseus.com/v3/HAPI/flights/offers/ofr_dHJhdmVscGF5b3V0cz... \ -H "Authorization: Bearer $ACCESS_TOKEN"
Response
The same flight_offer shape returned by search, re-priced, with revalidated set to true.
{
"object": "flight_offer",
"id": "ofr_dHJhdmVscGF5b3V0cz...",
"owner": "TP",
"validating_airline": "PC",
"cabin_class": "economy",
"total": { "amount": "412.00", "currency": "USD" },
"base": { "amount": "250.00", "currency": "USD" },
"tax": { "amount": "162.00", "currency": "USD" },
"slices": [ /* … same shape as search … */ ],
"revalidated": true,
"price_changed": false,
"expires_at": "2026-10-08T12:15:00+00:00"
}409 offer_not_revalidated. Always fetch the offer immediately before creating the order, and read the returned total so you charge the confirmed price.
Revalidation window & re-search
A revalidation is valid for 15 minutes; within that window this endpoint returns the confirmed fare instantly. After it expires, instead of failing, the gateway re-searches this exact flight against its original provider and, if it is still available, returns the fresh offer and keeps it valid for another 15 minutes — repeating as needed until the flight departs. The id never changes, so you keep requesting the same offer. Once the outbound leg is in the past (or the flight genuinely sold out) revalidation returns 409 offer_expired.
Price changes
price_changed is true only when the re-searched fare came back higher than first shown — then the new, higher total is what you see and will be charged. When the fare is unchanged or lower, you keep the original total and price_changed is false. Either way, read the returned total before booking. The offer id stays the same.
Errors
| Status | Code | Meaning |
|---|---|---|
| 404 | offer_not_found | The id is malformed or not an offer id. |
| 409 | offer_expired | The offer is no longer cached or available; run a fresh search. |