Show which flight search evidence is current enough to use
A flight availability search API can help a shopper find plausible flights for a particular itinerary, party and travel date. An observation in the search list has a different meaning from a current offer that can proceed under a provider's approved workflow. Some responses arrive late or cover only part of the market. The application needs to say what it found, how recently it was checked and which next request establishes a sellable result. Plan the integration around grounded status and useful choices, rather than promising every flight can be held as soon as it appears in search.
Consider a fictional flight desk called Lark Harbour Travel. It asks two permitted sources for two adults on a Friday routing. The first responds with two suitable results. The second returns slowly, then gives a different flight and an earlier observation about the first itinerary. The traveller opens a result at the same time as an earlier offer reaches its applicable expiry. The desk must decide what can stay visible and when to check the selected trip again. Use stable fixture identities and source timestamps rather than airline-specific claims. Focus on search completeness and freshness, plus the next usable action after selection.
Read the offer and workflow documentation for the exact operation
The Duffel offers API reference describes offer records, including validity information supplied by that provider. The Amadeus for Developers flight tutorial illustrates a workflow with search and later price confirmation operations. Use the documentation and approved access for the provider your business actually uses. A display can be based on the permitted source response and needs an agreed rule for when a further check is necessary. Do not assume that the same property or amount has the same contractual meaning across unrelated APIs.
| Evidence | What the application can tell the user | What the provider still needs to establish |
|---|---|---|
| Current permitted search result | A candidate match for the specific passengers, dates and routing | Current offer details when the selected flow requires them |
| Another source has not returned | Displayed results are available from the checked scope only | Any eligible result from the other source |
| Previous selection is stale or expired | Earlier evidence can identify the flight the user selected | Whether the offer remains available and with which terms |

Carry the requested party and route into the search result
Record the dimensions that make the request meaningful. Include the airport or location, relevant dates, traveller categories, applicable cabin and requested segments. Use the required limits for each approved source. Give the product a way to identify that an observed result belongs to the original query. Try a user selecting another departure day while one response is still in flight. A result with the older date should not silently appear in the newer search. Retain known context when users go back to the previous query. The product must distinguish a new search from reactivation of an option previously checked.
Use a test query for one adult and another for two adults with the same itinerary. A result for one passenger does not establish availability for both. Show the price basis and party where the user has to make a decision. A return itinerary can have different constraints from separate one-way searches, depending on the source and contract. Preserve the information needed to understand the actual result and avoid combining incompatible offers based on matching times alone. Ask whether a support person can tell which search produced the selected match. That makes it possible to reproduce an ordinary customer complaint without exposing unrelated activity.
Identify the source and observation time of each result
A response can carry a provider timestamp, a documented offer expiry and information about the actual request. Your application additionally knows when it sent and received the request. These can differ. Establish the policy for deciding when a result may be displayed and when the next action needs a provider check. Apply the policy to one option received later than expected. If the response originates from a search cache or a permitted estimate service, show its limits where relevant. The interface can allocate a readable freshness state to each option while keeping technical timing detail available to staff. Use the provider's exact expiry semantics when choosing which offers to recheck.
Pick two results that describe the same departure and carrier. They may represent different conditions, offer identities or booking through different agreements. Group them visually only if the product can explain what is grouped. Keep each offered price and later action attached to its own evidence. Test a result with a marketing and operating carrier relationship that differs from a similar-looking item. A traveller needs useful details and an eligible booking route. Staff need the supplier record that can recheck or service the option. A deduplication rule should not collapse meaningful differences that affect those decisions.
Design for a search that returns results from only some sources
Set an expected wait appropriate to the product and current user needs. If one source returns and another is still pending, decide what the user can see. The search page can show usable choices while indicating that source coverage is incomplete. A request ending with a provider timeout is different from a response which checked the request and returned no matches. Test both. Use ordinary user text and offer the appropriate next action. Give a support worker a way to see which query and source produced the status. If the business only advertises approved sources, the interface should avoid implying coverage it cannot prove.
Use a case where the delayed source returns after the shopper has chosen an option. New results can appear in a stable place without unexpectedly moving the user's selection. The selected option can still undergo its required validation. A cheaper or earlier result elsewhere does not itself change the offer the shopper selected. Decide how updated results become discoverable with keyboard or assistive navigation. Test a screen with several fragments of a return journey and ask a participant to identify the options actually checked for that direction. Show precise timing when it affects the visitor's decision.
Keep a useful distinction between timeout and no offer
Give one provider a valid negative response and remove network access for another. The support view should say which route produced the verified negative and which remains unresolved. Try a user changing filters. A family may want a specific departure after one hour. That filter can empty the currently displayed list without proving that all sources checked that time. Use a clear acknowledgement of the applied input. Avoid characterising a disruption or capacity issue based solely on a missing result. Ask a product owner what result users need when each source situation arises and record that in the acceptance case.
Rehearse the recovery path for a short provider interruption. The system can retry under its approved policy or offer a new search. Preserve the query for the person who needs to continue and avoid applying result rows to a different request. When a provider recovers, record how the new result comes into review. Set the supplier limit and request behaviour from the actual integration agreement. Give an operations employee an easy way to identify persistent failures using appropriate metrics, while the shopper sees ordinary instructions rather than technical labels.
Recheck an offer before the next binding step where applicable
At selection, carry the right source and requested party into the provider's authorised follow-up. Some workflows describe pricing or another operation that establishes current offer conditions. Identify when the required checks occur and preserve their results. When price, flight timing or an included service changes, present the current terms and request any approval the business requires. Keep the earlier checked evidence with an appropriate identity. If the new result is unavailable, give the user usable alternatives and a route to continue under the current conditions. A fresh display is useful only if the traveller can understand the action it permits.
Test a candidate changing while the traveller uses an external step. For example, open a selection before the relevant expiry, let the traveller leave the page and return after it. Describe which action can obtain the current state. The shopper should never have to infer acceptance from a disabled button. Show the result of the recheck and distinguish that from a reservation or payment confirmation. If the booking flow goes to another party, tell the traveller which information is verified by this product and who provides the next step. Review the written wording with support and an actual test user.
Use specific fixtures for the movement from list to offer
Give the first source an offer at a mock total of 260 units for the checked party. In a recheck fixture, it returns a total of 285 and one changed term the user needs to review. Preserve the original evidence while displaying the revised result clearly. In a second example, the provider returns the same total but can no longer supply one segment for the requested party. The product should offer the appropriate unavailable or alternate action rather than showing a current offer solely because the price matches. Ask support how they locate the earlier observation in each case. Verify that the receipt, when one exists, reflects the accepted terms.
Run a fixture where a new offer from another source looks cheaper. Its cabin, baggage or service conditions may differ. Show a fair comparison based on current evidence and the details each approved provider can substantiate. Keep the option connected to its own workflow, including a different quote reference if the user chooses it. In testing, ask the traveller which result they accepted and which older offers they could still view. Where a bundled label affects understanding, include the terms or next information source before asking them to decide. The shopping interface should not turn uncertain provider data into an unconditional commitment.
Preserve evidence engineers and service staff can use
A search trace should support reconstruction of one important result. Capture the request reference, relevant filters, source and useful timing fields under the product's approved policy. Preserve the operation that made a result eligible for another step. A service employee may need a friendly search or booking reference, while engineers need enough information to resolve delivery or timing. Define permitted detail and data handling before storing source material. Try the case where a result at first seemed to belong to the selected fare, but the later checked offer has its own identity. Staff can then explain why the two views differ without asking a customer to remember every screen.
For metrics, start with the questions the product owner can act on. Record how many supported searches waited beyond the meaningful limit, how many selected candidates had to be checked again and which providers produced a higher rate of unknown outcomes for a defined set. Name the denominator and time window. A request can return several trips, so do not confuse the number of option rows and the number of searches. If multiple sources are used, decide what counts as sufficient coverage for this product and distinguish first useful results from all sources responding. Use a synthetic example a colleague can verify by replaying.
Choose an acceptance exercise with partial and stale results
Run a normal complete search, a partial response, a changed party and one expired selection. Include a return from another browser screen. Ask a shopper to describe which results they could consider and what they would do now. Give an employee the original reference and see if they can identify which data was known at the time. Repeat with a route having two different departure days. Keep a concise fixture list and the expected result at each stage. This gives the next developer and service employee a practical target for changing templates, caching or provider coverage.
Bring permitted supplier documentation, a sample search, an offer which changes and an example of a response failure into the development brief. Name the people responsible for source coverage, customer wording and supplier support. Identify what the provider must verify before acceptance and what the interface can legitimately show earlier. Always keep a checkable path for one altered or partial result. It makes the flight availability search API useful for real product decisions even when a standard demonstration returns everything at once.
Use a clock-based fixture to prove search freshness
Set up a test in which the traveller starts searching at 09:00:00. Source A responds two seconds later and provides a mock validation time supplied for its eligible offer. Source B is still pending when the page shows two choices. At 09:00:11 the traveller changes from Friday to Saturday. At 09:00:12 source B's delayed reply still refers to Friday. Page data should match the selected request. The engineer can verify which result was accepted for display and support can see why the new list lacks a Friday candidate. Those outcomes should be observable without a live airline request or private traveller information.
Choose a mock expiry for an offer on the now current result. Leave the selected itinerary preview open until it passes. Let the user open the next step and verify the actual provider-directed action. If the business obtains a replacement offer, make the new terms explicit and preserve the correct underlying segment. If the provider requires a new search, keep the intended party and dates in that search where appropriate. Ask a colleague to follow the process without being told that the prior offer was stale. Record which label or instruction caused them to select the correct route.
Distinguish useful response counts from airline service information
A simulated response could contain valid results only for part of a city pair or selected group. The interface should identify the boundary of what was queried and what remains uncertain. A direct flight filter may leave no visible matches despite results containing connections. A source outage may leave no reliable evidence for the whole request. Give those situations readable descriptions and set expectations for suitable alternatives. Do not infer operational status of a flight from the response of a commercial availability endpoint. An operations feed may provide separate evidence with its own supported use. Keep the pilot focused on the information the shopper needs to decide what to check next.
Have a test customer return before any usable response arrives. Save the relevant search terms and decide if continuing the same query is helpful or if a new query should be created. Show what happened from the customer's point of view. Review session recovery separately from the provider result. If a downstream screen can display an earlier offer, test that it also knows where the latest check must occur. Some systems show summaries and cannot perform another supplier command from the same page. Put a real supported action near the explanation so somebody can proceed without losing context.
Check permitted request limits and incident escalation
Ask the provider owner to confirm the account's search operations, scope and constraints. A commercial arrangement can restrict where results appear or how they are cached. Document those settings and avoid estimating the entire market. Use a staged test in which one source delays or refuses a request according to a known fixture. Demonstrate how a queue, temporary pause or user action works within your approved plan. Give operations access to a summary of which providers were affected at the time. Staff should be able to identify repeated delays without guessing which service owns the next action.
Plan an incident record for a source returning outdated observations over a set of routes. Include the confirmed time range, provider references, expected product behaviour and useful labels. An authorised product owner can temporarily limit that source under the agreed policy. Test what app users see when the provider is still allowed for another route or operation. Deal with an accepted transaction through its own service path. A sales restriction should not prevent staff from finding confirmations customers already hold. Verify one current checked result and one earlier record after an approved pause. Let the incident owner name the evidence required to restore the affected operation.
Make the acceptance packet readable across the product team
The tester should be able to reproduce one normal result and one stale result in deterministic order. The product owner can identify the assigned user-facing text and supported alternatives. The service desk can interpret the known state and understand which provider interaction can answer the next question. The integration owner can recognise whether the app uses the provider's documented semantics and applicable constraints. Present a short sequence of times and identifiers rather than broad screenshots of the list. Evidence for one selected flight can become a regression example when the product revises its result sorting or cancellation of an older search.
Try a search for two passenger categories rather than only two adults. Use allowed categories from the supported operation and an example that requires more information for one request. An unsupported party should produce a clear result rather than broadening the query silently. If another source is eligible, it should still reflect the traveller's actual request. Ask staff to replay the changed party and check why one candidate can be considered. Use the same review before newly available sources are exposed to travellers. Records that preserve the selection and its context help the product avoid drawing the wrong conclusions from partial results.
Maintain the trial when the market or provider scope expands
When adding a supplier or routing type, choose a difference worth testing, such as later returns, a different expiry field or a separate claim about cabin availability. Re-run the original stale result and add the new fixture. Agree whether the old and new source can be compared using the same description and what limitations customers need. Save the fixture with the approved integration revision. That allows the next maintainer to reproduce the partial search and validate the same customer actions even if a future supplier handles offers differently.
After the pilot, keep an owner for freshness and coverage decisions. Record what evidence led to the current display policy and where a change needs review. Use a repeating fixture to check the policy after a provider or application update. A clear decision about a stale or partial result is a practical acceptance condition, even on days when all requests in a demonstration happen to complete promptly.
