Developer Guide

Developer Guide

The purpose of this document is to provide the technical API specifications required for demand partners to integrate with the RG SMART Distribution system.

The Smart Distribution API by RateGain provides a robust, scalable, and real-time interface for accessing hotel inventory, pricing, and reservation functionality. Designed for travel companies, OTAs, wholesalers, and B2B booking engines, it enables seamless integration with RateGain’s Smart Distribution platform to perform operations like destination search, hotel discovery, product availability, booking, and cancellations.


Core Features

  • Destination Search: Retrieve a list of available destinations using getDestinations.

  • Hotel Search: Get the best available properties and pricing in a destination (getBestProperty).

  • Product Retrieval: Access room types, rates, and amenities for a specific hotel (getproducts).

  • Reservation Management: Make bookings (CreateReservation) and cancel them (CancelReservation) programmatically.

  • Secure Access: API Key-based authentication ensures secure and authorized access to endpoints.


Integration Workflow

  1. Authenticate using the provided ApiKey and ApiSecret.

  2. Fetch Destinations using getDestinations.

  3. Search Hotels in a specific destination using getBestProperty.

  4. Retrieve Room Products for a selected property using getproducts.

  5. Create Reservation with traveler and payment details.

  6. Cancel Booking if needed using CancelReservation.


Benefits

  • Real-time availability and pricing

  • Flexible search based on dates and occupancy

  • Simplified reservation flow

  • Reliable response structure for easy integration

  • Scalable architecture for high-volume travel applications

Last updated