● Travel Never Stops. Neither Do We. 365 Days a Year.
Connected thinking. Practical technology.

Designing an API aggregation layer

A dependable travel API aggregation layer combines supplier results for comparison while preserving the source context, transaction controls and operational evidence needed to complete and service each booking.

Software and business colleagues planning a connected application
Illustrative application planning workshop

Start with the boundary, not the number of connected suppliers

An API aggregation layer sits between a travel application and the systems that supply flights, rooms, vehicles or other travel products. Its job is not merely to translate several response bodies into one JSON shape. It must decide which requests each source can answer, preserve enough evidence to complete a selected transaction, and explain what happened when a provider responds late, changes an offer or accepts a booking without returning confirmation.

This boundary matters because a travel search result is an observation, not an inventory asset owned by the aggregator. Availability, eligibility, fare conditions and payment options may depend on the seller, traveller, sales market, channel and time of enquiry. Two visually similar options may be issued under different contracts or require completely different servicing procedures. Removing those distinctions may improve the apparent simplicity of a search response while making checkout and support less reliable.

The useful design question is therefore: what can the application safely know without understanding every supplier, and what must remain owned by the source? The answer should be written down before adopting a generic schema or promising plug-and-play integrations. This article examines that division using flight and accommodation examples, but the principles apply to other contracted travel APIs where availability, payment or fulfilment depends on a third party.

Decide what the layer owns

The aggregator should own client-facing contracts, routing policy, correlation identifiers, response normalization, deadlines, eligibility checks, comparison rules and an internal transaction ledger. A source adapter should own authentication, supplier protocol handling, field interpretation, source error classification and supplier-specific fulfilment calls. A dedicated booking workflow should coordinate payment, reservation status, recovery and eventual servicing. Treating all three as one large search controller makes it difficult to determine whether a bug originated in mapping, orchestration or transaction handling.

Ownership also implies limits. The aggregator cannot make an airline honour an expired offer, turn an unsupported cancellation into an available operation or confer sales rights absent from the supplier agreement. An API integration may exist technically while remaining unavailable to a particular legal entity, account or market. Document the difference between an implemented connector, an enabled supplier, an eligible product and a transaction that is presently bookable. For related application contexts, see TravelTech365's flight reservation systems and hotel reservation systems. The aggregation boundary is useful to both, but it should not erase their different workflows.

Supplier contracts are executable constraints

Supplier onboarding begins with more than a base URL and credentials. Record the contracted entity, permitted product and market scope, content-use restrictions, traffic limits, certification conditions, supported environments and operational support path. Keep these commercial facts outside application code, but make relevant restrictions enforceable through policy. A correctly authenticated request may still be inappropriate if the account is not authorised to sell the selected inventory to that customer group.

Technical documentation has its own ambiguity. A provider can expose a field without supplying it for every carrier, room rate or agency. Another may return a nominally successful transport response whose payload contains a business-level rejection. Some environments offer representative test data; others have important gaps. Separate documented, observed in testing and enabled in production in the integration record. Treat an untested feature as unknown, not supported.

Give adapters a small, explicit contract

Use separate operations for search, offer detail, price validation, reservation creation, retrieval and any supported servicing action. Each operation should describe required inputs, possible outputs, time budget, side-effect risk and retry classification. Avoid designing a single universal execute() operation that hides the difference between reading availability and creating a chargeable booking. The orchestrator needs to know whether an operation is safe to repeat.

An adapter should validate source payloads at entry, convert transport exceptions into typed outcomes, attach provenance and return normalized values without deciding how the customer interface must look. It should also preserve the native references needed by the next operation. Do not allow downstream services to manufacture supplier tokens from displayed itinerary or property descriptions. Generated clients and an interface description can help: the OpenAPI Specification describes how an HTTP interface can be expressed independently of programming language. It does not, by itself, document booking semantics, permissions or guarantees.

Create contract tests from permitted, sanitised supplier responses, including missing optional fields, changed enum values, rejected requests, expired tokens and malformed success payloads. Retain fixture versions alongside adapter versions so a later mapping change can be investigated. Secrets and personal traveller data do not belong in fixtures. Where sensitive samples are indispensable, use an approved restricted test-data process.

Represent capability as data, not assumptions

One provider's flight offer may support seat selection but not automated changes; another may allow changes yet require offline refunds. Product capability may vary by carrier or individual offer even within the same source. A capability registry should describe the conditions under which an operation can be attempted, with the adapter making final source-specific checks. Route only to sources that satisfy the actual enquiry and account permissions.

Represent capability as data, not assumptions
Contract areaAggregator decisionSource-specific information that must survive
Search eligibilityWhich enabled sources receive this request?Account, channel, point of sale, market and product restrictions
Offer representationWhich fields can be compared across sources?Native offer IDs, expiry, fare or rate conditions, unsupported attributes
Checkout readinessCan this selection enter the booking journey?Reprice operation, guest or passenger requirements, payment method, fulfilment owner
ServicingWhich self-service actions can be offered?Booking owner, status dependencies, supported changes, cancellation or refund process
Data retentionWhat may be cached, logged or exported?Contractual permissions, personal-data classification and source-specific retention rules

The registry should fail closed for a consequential action: if the source's change or refund capability is uncertain, do not expose a confirmed self-service promise. For search, exclusion may be too severe; an unknown amenity can instead appear as “not specified.” These are different risk decisions and should not share one universal fallback policy.

A canonical model is a comparison language, not a replacement for source truth

Canonical models reduce repeated client development when they describe stable concepts: journey legs, property locations, stay dates, passenger composition, room occupancy, monetary amounts and offers. They become dangerous when they imply that every supplier expresses the same commercial product. An airline segment is not interchangeable with a ticket coupon; a hotel room name is not sufficient to identify a rate plan; a cancellation label is not a complete penalty rule.

Design the model around decisions the application must make. A flight-results screen needs departure and arrival times, stops, elapsed duration, passenger-specific prices, cabin or brand information and available baggage evidence. Checkout needs the exact offer selected, source identifier, payment rules and validated passenger requirements. Operations need durable supplier references, fulfilment status and a timeline of actions. Trying to compress all three use cases into one flat “booking object” typically creates overloaded fields and hidden assumptions.

Use precise types and preserve meaningful absence

Prefer an explicit money structure with amount, currency, charge category and payer over one floating-point price. Money calculations should use decimal-safe arithmetic and documented rounding rules. Keep amounts payable now separate from amounts due to the supplier or property later; never derive payment responsibility from the displayed total alone. If currency conversion is shown, retain the source currency, conversion basis and timestamp and distinguish estimation from a supplier-confirmed charge.

For dates, preserve local departure or check-in time, time zone where supplied, and the supplier's original representation when needed for diagnostics. For passengers and rooms, keep child ages and occupancy allocation attached to their specific offer, not only to the top-level search. Treat “unknown”, “not applicable” and “explicitly none” as different values. A missing checked-bag allowance does not prove that zero baggage is included; a missing cancellation policy does not establish free cancellation.

Extend a common model through typed, namespaced attributes rather than a sprawling collection of ambiguous flags. A documented extension such as airlineFare.brandCode is preferable to a general extra1 field. Permit clients to ignore extensions safely, but require the booking flow to re-read the native context from a protected server-side reference. Source-specific detail should remain retrievable for authorised support personnel without being published wholesale to the browser.

Deduplicate carefully, if at all

Deduplication is a display decision, not proof of identical products. Two sources showing the same operating flight and timings might differ in fare family, included baggage, ticketing party, exchange conditions or payment acceptance. Likewise, two hotel results matching the same property and room category may differ by meal plan, cancellation deadline, occupancy or taxes payable locally. Collapse only a defensible equivalence group, and preserve each supplier offer as a selectable child.

Use confidence-based property mapping, curated identifiers and review queues for uncertain matches. Never automatically merge properties based on a similar name and approximate location alone. For flights, establish itinerary identity separately from offer identity: matching segments can support grouped display, but the traveller still selects a particular commercial offer. Sorting on headline price before normalising mandatory charges or traveller entitlements can create a misleading ranking.

Identifiers and provenance are part of the product

A robust record has several identities: the application's search ID, the source's search or session context, the native offer ID, the internal selection ID, the booking attempt ID, the supplier reservation or order ID, and possibly a separate ticket, voucher or payment reference. These identifiers are not substitutes for one another. Some exist only for minutes; others need to be retained for servicing and reconciliation according to applicable permissions.

Store a provenance envelope that records supplier and account alias, contract configuration version, sales context, travel criteria, response time, offer expiry if available, mapping version and opaque native references. Store only the native payload fields required for an authorised purpose, encrypted with appropriate retention controls. A search display ID can be regenerated; a supplier order reference usually cannot. Avoid passing sensitive credentials, personal information or complete signed booking links into client-visible tokens.

Keep the route back to the original source

The selection should resolve server-side to one immutable snapshot of what the traveller saw, plus a mutable pointer to the latest validated offer. When repricing changes the product, create a new validation revision instead of overwriting history. That makes it possible to explain whether a traveller accepted one price while the system attempted another. Each transition should identify its initiating actor or automated process.

Provenance becomes particularly important when integrating intermediary content. The immediate API provider, underlying airline or hotel, merchant of record and party responsible for servicing may be different organisations. Model each role distinctly where the contract exposes it. Never infer payment or servicing ownership merely from the name displayed on the inventory result.

Business colleagues reviewing connected operational information
Illustrative operations review — connect records, responsibilities and management information.

Fan-out search with one deadline and several independent budgets

Parallel requests improve coverage but consume finite latency, connection, quota and cost budgets. A client search should have an end-to-end deadline, and every dependency should receive a smaller allowance after accounting for authentication, aggregation, ranking and response delivery. If the whole user-visible budget is spent waiting for suppliers, the application has no time left to validate results or explain partial completion.

The orchestration layer should select sources before dispatch based on market, content needs, entitlement and historical usefulness. Sending every enquiry to every enabled source creates avoidable load and can breach traffic allocations. Route by requested product attributes and allowed channel, then apply per-source concurrency limits, per-tenant quotas and request-coalescing only where contractually permitted. Keep interactive searches separate from slower batch refresh workloads so one does not starve the other.

Budget by stage instead of using one global timeout

A useful deadline has several parts: client-to-edge transit, authentication and policy checks, supplier calls, normalisation, ranking and response transmission. Record timestamps for each stage. Give slow providers a bounded opportunity rather than holding the response indefinitely. Source thresholds should come from measured distributions and business tolerance, not a single arbitrary value copied across every integration.

Retry decisions need equal restraint. A short-lived network failure on a read-only operation may justify one retry when enough deadline remains. A permanent validation error, account restriction or exhausted quota does not. Repeated retries at both adapter and orchestrator levels can multiply traffic during an outage. The AWS Well-Architected guidance on retries recommends bounded retries, exponential backoff and jitter, and warns against duplicating retries across layers. Its client-timeout guidance also emphasises configuring and testing timeouts rather than relying on defaults.

Separate cancellation of work from cancellation of a booking

A browser abandoning a search should normally stop unneeded downstream work, where safe and supported. That cancellation is not equivalent to cancelling a reservation. Once a create-booking request crosses the supplier boundary, closing the browser or timing out the client must not be treated as permission to discard reconciliation. Propagate cancellation signals only to side-effect-free calls whose execution can safely stop. Transaction workers need durable ownership independent of the browser session.

Partial results need an honest completeness model

Search can complete with one source returning offers, one reporting no matches, one rejecting credentials and another timing out. Those are four materially different outcomes. A response containing offers is useful, but calling it a complete search would misrepresent coverage. Model source outcome states explicitly: returned offers, returned no eligible offers, excluded by policy, invalid response, throttled, timed out and unavailable. Record the requested and attempted sources separately.

The customer may see results immediately with a discreet coverage message; the support console should show exact missing sources and reasons. The public interface should never expose supplier secrets or internal error dumps. Clients need a response-level completeness status and, where appropriate, an update mechanism. If late results are incorporated, define how pagination and sorting behave so products do not jump unpredictably while the user is selecting a rate.

Do not use HTTP 206 Partial Content merely because some suppliers timed out: under RFC 9110, 206 concerns range requests. A successful search representation can instead include application-level partial status and source summaries. Use 202 Accepted when an operation has been accepted but has not finished, with a recoverable operation reference; it is not a synonym for “search completed with fewer sources.”

The failure policy should also depend on the next action. Search may degrade gracefully. Checkout should not proceed when its selected offer cannot be validated. A servicing update should never claim completion while the source state remains unknown. One blanket circuit-breaker behaviour for every endpoint would blur those distinctions.

Caching starts with rights, then freshness

Caching may reduce repeat lookups, but a supplier response is not automatically redistributable simply because it was delivered over HTTP. Review the provider's contract and product documentation for storage, display, refresh, access and redistribution rights. Distinguish static or slowly changing reference content from availability, negotiated rates, signed checkout links and personal booking records. Where permission is unclear, do not introduce a persistent shared cache.

The HTTP caching specification, RFC 9111, describes protocol-level cache controls including no-store, private, validation and restrictions around authenticated requests. Those rules matter for HTTP intermediaries, but they do not replace a supplier's separate commercial terms. A technically cacheable response might still carry content whose permitted use is narrower than a generic public catalogue.

Make cache keys reflect entitlement and selection context

A cache key should include every dimension that can change eligibility or interpretation: supplier account, sales market, channel, currency, dates, passenger ages, occupancy, product attributes and applicable contract configuration. Do not share a B2B negotiated rate with a consumer session merely because the route and travel dates match. Partition sensitive caches by tenant and security context. The cost of an over-specific key is lower cache reuse; the cost of an under-specific key may be an unauthorised or incorrect offer.

Set independent freshness policies for descriptive property data, mapping records, search observations and selected offers. A long-lived property description does not establish that a room is available tonight. Negative caching requires special care: “no inventory” might be a temporary result or a specific account restriction. Put source and timestamp on cached records; invalidate or bypass them when permission, occupancy, dates or commercial configuration changes.

Cache hits must never skip required supplier price checks. If the system serves a previously observed fare, label it as indicative where the approved flow allows that presentation. A booking action must revalidate against the owning source. Track cache effectiveness together with stale-selection and repricing rates; a better hit rate that increases checkout abandonment is not a real improvement.

Pricing and revalidation form a separate contract

Search price, validation price, payable amount and settlement amount are different concepts. A search quote may omit items disclosed later; a supplier may recalculate taxes or reject inventory; a customer-facing markup may be applied only to selected components. Keep a structured money ledger with the supplier's components, platform charges, payment collection responsibility, currency, conversion inputs and the moment each value was confirmed.

For example, Duffel's offer documentation identifies offer expiry and recommends retrieving up-to-date offer information before booking; it also cautions that retrieval does not guarantee later availability. Booking.com's Demand API order-creation guide describes a preview stage for current price and conditions followed by creation using the resulting order token. These are provider-specific flows, not interchangeable endpoints or permission grants. An adapter should implement the approved sequence for its source.

Define what happens when the price changes

When validation returns a different payable total, identify the changed component rather than quietly revising a number on the payment page. Set a documented price-change policy: re-present material changes for customer approval, reject unsupported currency changes, and expire the previous confirmation. Even an apparent decrease may accompany a change in baggage, meal plan, cancellation terms or ticketing conditions. Compare the product fingerprint as well as the price.

Locking the displayed price in the aggregator does not lock supplier inventory. Avoid holding user payment indefinitely while attempting to recover a failed offer. The sequence between supplier booking and payment authorisation depends on the approved merchant model and supplier contract; every order must carry enough state to prevent a successful payment being mistaken for a supplier confirmation. Reconciliation must compare financial and reservation records, not assume they move together.

Illustrative example: one itinerary, three different outcomes

Illustrative example — hypothetical architecture, sources and timings, not a description of an existing customer implementation. A traveller searches for a return flight with one adult and one child. The application has three eligible flight connectors, A, B and C. The orchestrator creates an internal search reference and dispatches requests only after checking market permission, passenger-age requirements and each source's current traffic allowance. Its illustrative deadline is four seconds; that number is a design assumption for this example, not a general performance benchmark.

A returns two offers within the budget. B returns the same operating flights through a different distribution arrangement, with a cheaper headline amount but no confirmed checked-bag entitlement. C does not respond before its deadline. The aggregator groups A and B under a matching itinerary for visual comparison but retains two separate selectable offers. It displays the baggage difference as unknown rather than zero and marks search coverage partial because C's outcome is a timeout, not confirmed lack of inventory.

The traveller selects B. The application resolves the internal selection to B's native offer reference and original passenger context. B's validation call reports a higher payable amount and revised fare conditions. The platform must present the updated product and seek renewed acceptance rather than substitute it silently. The previous selection revision remains available to support investigation. If the traveller rejects the change, no booking attempt begins; another eligible offer may be chosen and validated independently.

Suppose the traveller accepts and B's booking call times out after the request has been transmitted. The platform writes an uncertain transaction state, blocks an automatic second create call unless B's documented safeguards permit it, and starts an approved order-lookup or supplier-support reconciliation path. Meanwhile, A's earlier search offer cannot be treated as an automatic replacement: it is a different commercial offer requiring fresh validation and traveller consent. This small case illustrates why provenance, completeness, price revision and booking recovery belong to different parts of the design.

Managed server infrastructure in an illustrative data centre
Illustrative infrastructure — reliable integrations need monitoring, recovery and clear operational ownership.

Make failures observable without exposing sensitive data

A monitoring screen that reports only HTTP success percentages is insufficient. A supplier can return a syntactically valid response missing a bookable reference, or the network can time out after a confirmed reservation has been created. Instrument the stages search, mapping, validation, submission, retrieval and reconciliation independently. Record latency distributions, attempts, rejected payloads, partial-search frequency, offer expiry, repricing changes and unresolved booking age by source and operation.

Propagate correlation context across controlled services, using standards such as W3C Trace Context. The OpenTelemetry HTTP conventions provide compatible metric names and attributes. Use bounded labels such as provider alias, operation and error class; avoid booking IDs, passenger names and raw URLs as metric dimensions. Restrict access to detailed diagnostic records, redact secrets and apply retention rules independently to logs, traces and replay fixtures.

Make failures observable without exposing sensitive data
Observed outcomeClassificationImmediate actionEvidence required for resolution
Source excludes request by entitlementPolicy rejectionDo not call supplier; explain unavailable coveragePolicy version and eligible account context
Search call times outPartial-search failureReturn valid other results if permittedDeadline, source, call correlation and retry history
Offer validation changes total or conditionsProduct revisionObtain fresh customer acceptanceOld and new offer revisions and amount breakdown
Booking submission times outTransaction outcome unknownStop blind creates; initiate lookupIntent ID, native reference, request timestamp and recovery actions
Supplier returns malformed success payloadContract violationQuarantine result; alert adapter ownerSanitised payload shape, schema and adapter version
Payment succeeds without booking evidenceReconciliation incidentHold confirmation; investigate both systemsPayment reference, booking intent and supplier status

Support teams need an operator view that answers: which source was called, with what approved context, what was observed, what did the user accept, and what operation is safe next? Error responses to API consumers can follow the machine-readable pattern in RFC 9457, while keeping supplier internals out of public messages. Alert on unresolved transactions and rising business-error rates, not just server crashes.

Versioning without forcing every client to migrate together

An aggregation layer has at least three changing interfaces: the supplier's API, the adapter's internal contract and the platform's public API. Version and test them independently. A supplier adding an enum value should not break all clients; a supplier removing a required booking attribute may require an adapter deployment and an operational feature restriction. Public clients should not be forced to adopt a new response schema simply because a provider has updated its transport format.

Prefer additive public changes and explicit deprecation windows. When semantics change, such as redefining “total price” to include local charges, publish a new field or version rather than quietly altering the old one. Keep mapping-version metadata with bookings so historical decisions remain interpretable. For migrations, run old and new adapters against permitted equivalent tests, compare structured output and error classifications, then enable controlled traffic only for eligible products.

Shadow reads may be useful where supplier terms allow extra requests, but do not shadow live booking creates: they can cause real reservations or charges. Define rollback criteria before release, including increased price mismatches, invalid references, latency regressions and unresolved outcomes. Rollback should preserve existing transaction ownership; an order created through adapter version one may still need servicing while version two handles new searches.

Build confidence with one complete vertical slice

Start with one approved source and one complete journey: search, selection, detail retrieval, revalidation, booking, status lookup and one realistic exception. Test no-inventory, expiry, throttling, schema drift, delayed confirmation, duplicate client submission, worker restart and payment disagreement. A successful happy-path demo does not establish production readiness. Each test should produce evidence that an operator can interpret without a developer reading the source code.

Only then add a second supplier that differs in a meaningful way. Its incompatible behaviour will reveal whether the canonical model is honest and whether source-specific workflow choices remain contained. Expand traffic gradually with dashboards and explicit rollback ownership. Related considerations appear under flight aggregator integrations, NDC integration, hotel APIs and cloud engineering.

Security and tenancy belong inside the data model

Multi-tenant distribution adds a second form of correctness: one customer must not receive another customer's supplier entitlement, private offer or operational record. Authenticate the calling application, authorise the tenant for the requested operation, then select an approved supplier credential from a server-side vault. A tenant identifier supplied in a request body is not, by itself, proof of entitlement. Bind it to verified identity and check it again when resolving an offer selection or booking reference.

Keep a clear separation between public display data, privileged transaction data and sensitive identity or payment information. The browser generally needs a short-lived opaque selection identifier, not raw supplier credentials, reusable booking links or unredacted upstream payloads. Use encryption in transit and at rest, narrow access roles, scheduled credential rotation and auditable administrative actions. Avoid logging full passports, payment instruments, personal contact details or bearer tokens during error investigation. Where payment information is involved, choose an approved collection method that minimises the aggregator's handling of sensitive data.

The same controls apply to diagnostics and replay. A support agent may need to see a supplier request correlation ID without seeing the traveller's complete identity record; an adapter developer may need the response schema without the real guest name. Maintain separate views and retention policies for each role. Delete or anonymise stale search records when they are no longer needed under the applicable agreements, while retaining essential authorised transaction evidence. Test access with cross-tenant negative cases, not just successful logins: if a customer changes the selection ID in a request, the resolver must refuse disclosure and booking attempts for an offer it does not own.

Frequently asked questions

1. What is the difference between an API gateway and an aggregation layer?

An API gateway commonly handles edge concerns such as authentication, traffic policy and routing. An aggregation layer adds product-specific interpretation: querying eligible suppliers, mapping offers, recording provenance and coordinating selected workflows. Both may coexist. Putting all supplier logic in the gateway tends to mix network policy with fare, room and booking semantics. The architectural boundary should follow operational ownership, not the label of a particular infrastructure product.

2. Should every supplier map to one universal booking schema?

No. Share only concepts whose meaning remains stable across sources, and preserve a supplier-specific envelope for references and operations. A universal display structure can help compare departure times or room occupancy, but it cannot erase differences in ticketing, cancellation or payment responsibility. Before adding a common field, define its units, null behaviour and source evidence. If the definition requires many exceptions, an extension or separate domain model is safer.

3. How do we choose which suppliers receive a search?

Begin with commercial entitlement: source account, sales market, channel, product and traveller eligibility. Then evaluate capability, content relevance, rate limits, cost and recent performance. Do not broadcast every request merely because adapters exist. Keep routing decisions auditable so operators can distinguish a source intentionally excluded from one that failed. If performance data later changes routing, test that the algorithm does not unintentionally remove essential inventory coverage.

4. Can matching flights or hotel rooms be merged into one result?

They can be grouped for presentation, but not silently merged into one purchasable product. For flights, identical operating segments can carry distinct fare brands, baggage and servicing conditions. For hotels, matching property and room descriptions may still differ in occupancy, meal plan, refund policy and local charges. Preserve all eligible source offers beneath any comparison group, with clear product differences and the exact selected source at checkout.

5. What is the minimum provenance needed for an offer?

Retain the provider and account alias, native search and offer references, selection criteria, sales context, captured timestamp, expiry where supplied, and versions of relevant mapping and policy. Include enough securely stored native detail to execute the provider's next approved step. The appropriate retention period depends on operational needs, privacy obligations and supplier permissions; do not assume that a token valid during search should be stored indefinitely.

6. What should the customer see when only some suppliers respond?

Show valid available results without claiming exhaustive market coverage. A neutral note can say that some sources could not be checked, while an internal diagnostic view records exact outcomes. An intentional source exclusion and a supplier reporting no inventory are not errors of the same kind. If late arrivals can modify results, explain how they affect sorting and selection; do not replace a customer's chosen offer behind the scenes.

7. How should timeouts and retries be configured?

Set a client-level deadline first, reserve time for the aggregator's own processing, then allocate source-specific timeouts from measured behaviour. Retry only eligible, side-effect-free operations when the remaining budget and supplier rules allow. Use bounded backoff and jitter rather than automatic repeated requests at several layers. For booking creation, a timeout might occur after acceptance; use the provider's documented lookup or idempotency mechanism before attempting another mutation.

8. Is caching supplier availability acceptable?

Only where the supplier agreement and technical rules permit the particular data use. Even an authorised search cache needs keys that include account, market, dates, traveller or occupancy context and other price-sensitive inputs. Separate reference content from dynamic availability; label non-current prices accurately. Do not use a cache hit as proof that checkout will succeed. A required live validation remains required, however frequently a search result has been seen.

9. When must a displayed price be revalidated?

Before the customer commits to a supplier-dependent booking, at the source-specific point required by the approved workflow. Revalidate not just the headline amount but currency, taxes, payment timing, product attributes, cancellation terms and mandatory traveller details. If the validated offer differs materially, present a new summary and obtain renewed acceptance. Do not silently substitute an alternative supplier's offer just because the itinerary or property name looks the same.

10. What makes a booking request idempotent?

An idempotent operation produces the same intended effect when the same request is repeated under a documented key or equivalent contract. An internal deduplication table can prevent concurrent local submissions, but it cannot prevent duplicates at a remote system that lacks matching guarantees. Bind the key to an immutable booking intent and request fingerprint. Where the remote outcome is ambiguous, reconcile by supported status retrieval or an approved support process instead of assuming the request failed.

11. How should payment and supplier booking state be connected?

Represent them as separate state machines coordinated by a durable order. A successful payment does not prove that an airline ticket or hotel booking exists; a supplier booking may be accepted before payment settlement is complete. Track authorisation, capture, supplier confirmation and fulfilment as distinct evidence. Define compensating actions and manual escalation for disagreement, including how an operator avoids issuing a second payment or reservation while the first outcome remains unresolved.

12. What is the best way to investigate a missing confirmation?

Start with the internal booking intent and reconstruct its event timeline. Identify the exact submission attempt, source account, native references, payment state, request correlation and subsequent lookup outcomes. Check whether the remote call timed out before transmission, after transmission or after a response was received but not persisted. Do not use a generic “retry booking” button without source-aware safeguards. The operator needs a permitted next action and evidence of the current uncertainty.

13. How do we test changes to supplier adapters safely?

Maintain approved, sanitised fixtures and contract tests covering successful responses, missing fields, unexpected enums, expired offers and supplier business errors. Test booking state transitions with simulated timeouts and duplicated messages. Where the provider offers a sandbox, confirm which scenarios it actually supports rather than assuming production equivalence. Compare old and new mappings and errors before moving controlled production reads. Avoid shadow writes that could create real bookings.

14. When should we release a new public API version?

Use an additive change when existing consumers can safely ignore it. Publish a new version or explicitly named field when the meaning of a value changes, a formerly optional field becomes required, or consumers need a new transactional workflow. Give clients an observable deprecation plan, migration examples and a period of compatible operation where feasible. Version supplier adapters independently, because upstream changes should not automatically become customer-facing breaking changes.

15. What should be ready before adding more suppliers?

Prove one complete supported booking journey and at least one failure-recovery journey. Have tested schemas, permission-aware routing, provenance, price validation, a durable booking intent, source-specific retry policies, security controls and an operator-friendly reconciliation view. Establish monitoring and an accountable rollback process. A new provider should then expose a deliberate capability difference rather than require new assumptions throughout the platform. That is a stronger readiness test than counting connected API credentials.

The engineering decision that lasts

A useful aggregation layer makes comparison simpler without pretending that supplier obligations are interchangeable. Keep native ownership and references intact, treat every price as time- and context-dependent, and make incomplete searches and uncertain bookings visible as separate conditions. The strongest architecture is one an operator can explain during a failed checkout, not merely one that returns an attractive search page. Teams evaluating an approved supplier integration or the boundaries of a multi-source travel platform can share their requirements through TravelTech365's project enquiry form. Feasible scope depends on the selected products, markets, commercial agreements, available APIs and account permissions.