● Travel Never Stops. Neither Do We. 365 Days a Year.

HotelsPro Coral API: Access, Content and Booking

Review HotelsPro integration references, current access arrangements, documented operations and booking data before defining implementation or migration scope.

Reservations team examining hotel room records

HotelsPro Coral API: Access, Content and Booking explains how to distinguish hotel content, account permissions, and confirmed reservations. Loading descriptions does not authorize searches or bookings. A dependable integration keeps these responsibilities separate and records evidence whenever a price, guest composition, or reservation state changes.

What the HotelsPro Coral API Integration Covers

Coral is described in the official documentation as a JSON-based interface for hotel search and reservation activities. Its documented workflow includes search, availability checks, provisioning, booking, cancellation, and booking retrieval. Cosmos supplies the static property information used to populate catalogues. The official Coral overview outlines the integration sequence and explains that test credentials precede final approval for live access.

These capabilities should be treated as documented interface functions, not proof that every prospective customer has the commercial right to use every hotel, rate, currency, or market. Supplier approval, issued credentials, account configuration, and the applicable agreement determine what an individual connection may actually access. A technically valid request can therefore fail an entitlement check without indicating that the integration code is defective.

Separate Cosmos Content From Coral Provider Access

Cosmos: Catalogue Data, Not a Reservation Promise

The official FAQ identifies Cosmos as the static database for hotel details, including images and descriptions. It describes two distribution approaches: a static-data export link or access through the Cosmos API. Access to Cosmos API credentials is requested separately through the integration contact stated in that FAQ. A team may have one content delivery route without having the other.

Store hotel identifiers, names, addresses, destination references, coordinates, descriptive fields, facilities, image references, and source update timestamps with explicit provenance. Treat this information as a catalogue snapshot. A photo being present does not prove that a room can be sold; a mapped hotel existing in Cosmos does not prove that the Coral account can see it in a given search.

Coral: Search, Product Confirmation, and Reservation State

Coral calls are dynamic. The official dynamic API documentation describes a search-to-book sequence that carries identifiers from one step to the next. Hotel availability can be used to inspect all returned rooms, while individual availability can examine a specific product. Provisioning is mandatory before booking and is the final pre-booking comparison point.

Keep dynamic offer records short-lived and linked to their exact search inputs. A product identifier belongs to a particular chain of requests, not to a permanent room master. Do not save an available product in the catalogue and later treat it as permanently bookable. A hotel card may use cached static content, but price, occupancy, cancellation terms, and availability must retain their dynamic origin.

Account Registration, Provisioning, and Live Approval

The overview describes registration as an agency or affiliate before API onboarding. During implementation, the provider supplies a test environment, login credentials, a test URL, and static data; live environment access follows approval of the completed integration. The FAQ also links to a certification form. These are stages in an approval process, not an automatic self-service guarantee. Confirm current procedures directly with the provider before making a delivery commitment.

Create an entitlement register before development starts. Record the legal contracting entity, account or channel identifier, approved integration use, enabled currencies, permitted markets, environment URLs, authorized source IPs where relevant, operational contacts, and whether Cosmos is delivered as export or API. Store credentials in a secrets manager with separate test and production access. Never copy production guest data into demonstrations merely to obtain realistic responses.

Account and environment entitlement matrix: verify for the specific contracted consumer
Capability Test condition to confirm Live condition to confirm Retained evidence
Coral authentication Issued test username and password work Separately issued live credentials work Redacted authentication trace
Cosmos export Export link explicitly supplied Export reuse approved for deployment Grant reference, file checksum
Cosmos API Separate credential permission confirmed Production content access authorized Access confirmation, response sample
Search and provision Allowed test channel and scope established Live channel enabled for intended market Channel configuration, test log
Booking and cancellation Permitted test scenarios documented Certification and contractual approval recorded Approval reference, status trace
Operations support Integration escalation contact verified Incident and finance contacts agreed Runbook ownership and review date

The FAQ states that test bookings are checked through the bookings API rather than a test web interface; live bookings can be viewed through the interface and API when access is provided. Use this distinction in the test plan so testers do not mistake the absence of a sandbox dashboard for a booking failure. Document the precise account, environment, timestamp, and request reference for every acceptance run.

Search Inputs: Quantity, Market, and Comparable Offers

Occupancy Must Survive Every Transition

Coral search accepts room occupancy through pax; the documentation illustrates adults followed by child ages. For two adults and one eight-year-old child, represent the requested room consistently as pax=2,8 in the relevant search syntax and preserve an internal structured form such as adults 2, children [8]. Guest names and child-age order also matter when the booking is constructed.

The documented search restrictions include a maximum of five rooms, six adults per room, four children per room, six guests in total per room, and child ages up to seventeen. These are interface limits, not evidence that a specific product permits the maximum. Validate the requested quantity against both documented API bounds and the selected product's returned occupancy before enabling a payment step.

Quantity validation matrix: documented input bounds versus product eligibility
Input Documented API boundary Fixture value Acceptance rule
Rooms Maximum 5 per search 1 Within limit; retain room sequence
Adults per room 1 through 6 2 Match returned product occupancy
Children per room Maximum 4 1 Retain child count and ages
Guests per room Maximum 6 3 Do not infer extra-bed capacity
Child age Maximum 17 8 Exact age must match booking
Stay length Maximum 30 nights 2 nights Use identical dates at each stage

Markets and Currencies Need a Separate Gate

A search also includes client nationality, and currency selection is tied to account configuration. Nationality is not interchangeable with billing country, user interface language, reseller location, or the traveller's present location. Capture these attributes separately. If a downstream booking flow changes nationality or currency, discard the earlier product chain and restart the appropriate validation steps.

Do not advertise a hotel or selling market solely because a result appeared in exploratory testing. Establish allowed combinations against actual account entitlements and any applicable rate conditions. The following market matrix is a proposed testing design, not a statement that HotelsPro authorizes these combinations for a particular account.

Illustrative market matrix: proposed eligibility tests, not provider grants
Scenario Nationality Sales market Currency Gate outcome
M01 base fixture GB UK EUR Proceed only if contract enables combination
M02 alternate nationality US UK EUR New search and entitlement check
M03 alternate market GB Germany EUR Block unless distribution permission confirmed
M04 alternate currency GB UK USD Check currency enabled for consumer
M05 undeclared combination Unknown Unknown EUR Reject until attributes are resolved

Room Mapping Is Not Room Availability

Room codes and labels can differ across static descriptions, dynamic responses, and a travel company's local catalogue. Build a mapping layer that retains the source hotel code, internal property ID, raw room type, room description, board or meal code, product code, occupancy, and date validity. Do not collapse all “standard” rooms into a single sellable rate. An apparently identical description can represent different cancellation conditions or guest capacity.

Use exact product attributes for purchase decisions and descriptive normalization only for display. A family-capable room should not inherit an adult-only product's price because both appear under one hotel. When a mapping is uncertain, show the supplier description conservatively or withhold the room from the purchase flow. Human review can resolve uncertain mappings; an invented room equivalence cannot.

Illustrative room-mapping matrix for fictional property HP-720
Local reference Provider property alias Display label Allowed occupancy in fixture Booking decision
R70 H44 Standard double, lead offer 2 adults, no child validated Never substitute for family selection
R71 H44 Family room, room only 2 adults, child age 8 Eligible only after matching provision
R72 H44 Family room, breakfast 2 adults, child age 8 Separate meal and price comparison
R73 H44 Double room, restricted 2 adults, no child validated Block child allocation
Unmapped H44 Unknown room description Not verified Quarantine for mapping review

Important fixture convention: HP-720 is a fictional internal property ID; H44 is a fictional mapping alias; R70–R73 are fictional local room or rate references. They are not claimed to be issued HotelsPro codes and must not be sent as real API identifiers. In implementation, preserve the actual provider codes returned to the entitled account.

Hotel team checking accommodation paperwork

Illustrative Fixture: From EUR 95 Lead to EUR 126 Verified Room

The following scenario is entirely invented for implementation training. It is not a real supplier quote, customer itinerary, rate guarantee, or observed response. It demonstrates why a property-level lead price must not be interpreted as the confirmed cost of a selected family room. The model assumes that the intended market is contractually permitted; live authorization would still need independent verification.

Fully illustrative booking fixture: inputs and expected controls
Field Fixture value Interpretation
Internal property HP-720 Fictional catalogue record
Supplier mapping alias H44 Fictional link to a real-code field
Check-in 2027-05-12 First stay date
Check-out 2027-05-14 Two-night stay
Occupancy 1 room; 2 adults; child age 8 Canonical pax 2,8
Guest nationality GB Do not infer from browser language
Sales market UK, if entitled Commercial check precedes search
Currency EUR Assumed enabled for fixture
Initial displayed lead EUR 95 Generic provisional property-card lead, not chosen R71
Chosen room/rate R71, family room, room only Exact selection needs verification
Verified total EUR 126 Provision-stage fixture total for complete stay
Difference EUR 31 higher Must be accepted before booking
Local reference DEMO-HP720-001 Non-production reconciliation key
Cancellation policy Captured from fictional provision record No policy may be inferred from lead price

Step 1: Show a Lead Price Without Overpromising

A generic property card shows a preliminary EUR 95 lead price from candidate R70. It is not an occupancy-qualified quote for the requested family, nor proof that R71 will cost EUR 95 or accommodate the child. Label the result “from EUR 95” only while clearly explaining that room selection and final validation can change the total. Do not multiply or divide the lead amount into an invented nightly quote.

The FAQ explains that search may return the cheapest one-room rate for each hotel and directs integrators to Hotel Availability for the full set of rooms. It also says search behavior may be adjusted by the provider on request. Therefore, avoid coding a universal assumption that the first result is the exact room the customer will buy. See the official pricing FAQ.

Step 2: Inspect the Selected Product

The traveller chooses the fictional family room R71 for two adults and one child aged eight. The application compares selected dates, occupancy, room type, meal basis, taxes, fees, cancellation information, and current price against the product returned through availability. The internal mapping must point to the actual supplier product code, not the permanent local label R71. A changed room assignment is a new offer requiring customer review.

Step 3: Provision and Seek Explicit Acceptance

The mock provision result verifies a complete-stay EUR 126 total for R71 and the exact party. This replaces the EUR 95 lead price for the chosen product. Show the EUR 31 difference between the indicative property-card price and the selected family room, along with the final terms before any booking submission. The official dynamic documentation describes provision as mandatory and indicates that the resulting code remains valid for 600 seconds; expiration requires a fresh check, not a blind reuse of the old code.

For this fixture, the application requires the customer to accept EUR 126 and the displayed cancellation conditions. A booking request with a different age, changed room reference, or unauthorized price must be blocked locally even if some downstream service would accept malformed input. A request with child age nine is not “close enough” to age eight; it changes the search assumptions.

Step 4: Submit Only an Approved Booking Payload

After matching provision, acceptance, valid credentials, and payment-mode requirements, construct the booking with the provider's provision code and correct guest names. The documentation describes agency_ref_id for carrying a consumer's own reservation reference. Keep that value stable for lookup and reconciliation. Do not invent a successful booking code in the customer interface before a confirmed provider result or verified lookup is available.

The API documents an optional expected_price tolerance. A safe application should not use this to quietly permit a higher charge than the customer accepted. For this fixture, the intended ceiling is EUR 126 unless the customer actively approves a new total. If the price exceeds that ceiling, stop, reprice, and obtain renewed consent rather than widening tolerance automatically.

Booking Failure, Retry, and Idempotent Recovery

Transport success is not business success, and transport failure does not prove that no booking occurred. A timeout after submission creates an unknown outcome. Before any retry, use the documented bookings lookup with an available provider code or the consumer reference to determine whether the reservation already exists. The official booking recovery guidance explicitly directs integrators to check booking results after an unanswered request.

Design an internal reservation state machine with values such as prepared, submission-pending, outcome-unknown, confirmed, failed, cancellation-requested, and cancelled. These are application states, not claimed Coral response strings. Every transition requires evidence: a verified supplier response, supported booking lookup, or controlled operator reconciliation. Never convert outcome-unknown into failed merely because the customer closed the browser.

Preserve correlation IDs, the original request fingerprint, provision code, agency reference, dates, occupancy, amount, currency, account, channel, and timestamp. Keep personally identifiable information redacted in ordinary logs. A retry controller should suppress duplicate submissions while lookup remains unresolved and escalate genuinely ambiguous cases. The goal is one traveler intent producing at most one legitimate supplier reservation.

Cancellation and Post-Booking Reconciliation

Cancellation is a separate transaction with its own eligibility and financial result. The documentation describes a cancellation operation using the confirmed booking code and a response containing a cancellation charge. A displayed cancellation deadline is not itself evidence of a successfully cancelled booking. Show the policy applicable to the verified product, request cancellation through the authorized route, and check the resulting booking state.

Reconcile supplier status, booking amount, cancellation charge, internal order status, and any payment or refund records. Do not mark a customer refund as complete solely because the reservation has a cancelled state. Payment movement follows the actual payment arrangement and independently verified records; the Coral documentation does not establish the settlement terms of an individual contract.

Test Evidence: Exact Scenarios and Acceptance Decisions

The table below is a scripted evidence specification for the fictional fixture, not a report of executed provider tests. The identifiers beginning EV- name artifacts that an integration team should create during authorized testing. “Expected” means the outcome required for acceptance, not an assertion about actual HotelsPro availability or account behavior. Save redacted requests and responses only where the test agreement permits.

Illustrative acceptance evidence ledger for HP-720 / H44 / R71
Test ID Stimulus Expected behavior Evidence artifact
T01 Load HP-720 static record through authorized Cosmos route H44 alias links only to verified provider record; content dated EV-01 mapping snapshot and source receipt
T02 Use test Coral credential on test URL Permitted test action succeeds; credentials remain secret EV-02 redacted environment trace
T03 Search two adults and child age 8, EUR, GB Search inputs preserved; earlier EUR 95 lead remains provisional EV-03 criteria hash and result snapshot
T04 Open selected H44 hotel availability R71 maps to family room; different R70 lead not inherited EV-04 product comparison record
T05 Provision selected R71 product EUR 126 total and corresponding terms captured EV-05 provision snapshot and expiry
T06 Change child age from 8 to 9 before booking Booking blocked; fresh search or validation required EV-06 rejection event; zero book calls
T07 Swap selected R71 for R70 after provision Booking blocked; product identity mismatch displayed EV-07 mapping diff; zero book calls
T08 Attempt EUR 95 ceiling against EUR 126 provision Booking blocked; EUR 31 difference requires acceptance EV-08 price gate log; zero book calls
T09 Accept EUR 126 and matching party in authorized sandbox One submission; status confirmed only from supplier evidence EV-09 request fingerprint and lookup result
T10 Simulate lost booking response Lookup by known code or agency reference before retry EV-10 timeout and recovery trace
T11 Submit authorized cancellation in test Charge and final state verified via lookup EV-11 cancel response and status comparison
T12 Attempt test credential on live channel Environment gate rejects cross-use; no reservation created EV-12 permission test with redacted outcome

Production Readiness and Operational Controls

Acceptance Checklist

Do not approve a release merely because a search page renders room cards. The following checks describe minimum engineering controls for a proposed production connection; they do not replace supplier certification, contract review, privacy assessment, or payment compliance obligations.

  • Confirm the signed distribution scope, approved account, test/live credentials, channels, currency permissions, market permissions, and relevant operational contacts.
  • Document whether Cosmos content uses exports, API access, or an explicitly permitted combination, with import provenance and deleted-property handling.
  • Test hotel identity and room mappings, including collision, orphan, missing description, duplicate listing, and restricted-occupancy cases.
  • Preserve check-in, check-out, room count, adult count, child ages and order, nationality, currency, and selected product across search, availability, provision, and booking.
  • Show final provision total, taxes or fees as represented, room characteristics, meal basis, and cancellation terms before accepting a booking instruction.
  • Reject mismatched room references, ages, unapproved price increases, expired codes, and missing entitlement without contacting the booking endpoint.
  • Verify booking retrieval after ambiguous outcomes; prevent duplicate submissions; reconcile cancellation results and associated financial state.
  • Capture redacted test evidence and obtain any required certification and explicit live access approval before switching production traffic.

Monitoring Without Misleading Success Metrics

Monitor content import freshness, unmatched properties, search failures, unavailable-room transitions, provision repricing, booking outcomes, unknown-status age, cancellation reconciliation, and entitlement denials. Segment metrics by environment and authorized account, but avoid exposing guest details in dashboards. A high response rate is not proof of accurate mapping; a low error rate is not proof that the right guest and rate were booked.

Frequently Asked Integration Questions

Does a Cosmos Hotel Record Mean That the Hotel Is Bookable?

No. Cosmos is the static content route. Search eligibility, dynamic room availability, and the right to book require a separately authorized Coral connection and a valid product flow.

Can the EUR 95 Search Price Be Shown as the Final Family-Room Price?

Not in the illustrated case. It is a lead from another candidate. R71 has a verified total of EUR 126 for two adults and a child aged eight; that amount and the corresponding terms must be accepted before booking.

What Happens When a Child's Age Changes?

Reject the stale selection and revalidate. The FAQ identifies inconsistent passenger information, including child-age order, as a cause of booking errors. The system must not silently coerce age nine back to eight to preserve a rate.

Are Test Credentials Sufficient for Live Distribution?

No. The official overview describes final tests and approval before live access. Contractual entitlement and environment-specific provisioning remain separate requirements.

Should the Application Retry a Booking Immediately After a Timeout?

No. Use the booking retrieval mechanism first. An absent response does not demonstrate that the booking was not created, and a blind repeat risks creating an avoidable duplicate.

Does a Cancellation Request Guarantee a Refund?

No. Reconcile the confirmed cancellation state, applicable charge, and independent payment records. Cancellation policy and refunds must never be inferred from an HTTP success alone.

Building a Traceable Hotel Booking Experience

HotelsPro Coral API integration is strongest when the catalogue can name its Cosmos source, the application can prove its account entitlement, the booking interface can explain a price change, and the operations team can resolve uncertain reservation outcomes. In the fictional HP-720 example, the decisive behavior is not finding a EUR 95 headline; it is verifying the R71 family room at EUR 126, preserving two adults and a child aged eight, and refusing a booking when age or rate identity changes.

For a custom booking engine or B2B portal, TravelTech365 can apply this model through separate data lifecycles, accountable mappings, price consent, recovery workflows, and reproducible evidence. Planning starts with the official Coral documentation and provider FAQ, followed by confirmation of the exact agreement and credentials issued to the integrating business.