Distribution APIs by Module-Distribution Shop (SHOP)

Number of APIs: 5

  1. get Properties -> Promotion Codes GET {{HostName}}/shop/v0/hotels?adults=1&numberOfUnits=1&promotionCodes=EARLYBIRD&chainCode={{chainCode}}&hotelCodes={{HotelCode1}},{{HotelCode2}},{{HotelCode3}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}

  2. get Property Offers -> Specific rate plan and room type GET {{HostName}}/shop/v0/hotels/{{HotelCode1}}/offers?adults=1&numberOfUnits=1&ratePlanCodes={{RatePlanCode}}&ratePlanCodeMatchOnly=True&roomTypes={{RoomTypeCode}}&roomTypeMatchOnly=true&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}

  3. get Property Offers -> Specific rate plan only GET {{HostName}}/shop/v0/hotels/{{HotelCode}}/offers?adults=1&numberOfUnits=1&ratePlanCodes={{RatePlanCode}}&ratePlanCodeMatchOnly=true&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}

  4. get Property Offer -> Offer Details Negotiated Rate GET {{HostName}}/shop/v0/hotels/{{HotelCode}}/offer?adults=1&numberOfUnits=1&ratePlanCode={{NegotiatedRatePlanCodes}}&accessCode={{accessCode}}&roomType={{RoomTypeCode}}&arrivalDate={{currentdateplus10}}&departureDate={{currentdateplus12}}

  5. get Property Calendar -> specific rate Plan GET {{HostName}}/shop/v0/hotels/{{HotelCode}}/calendar?arrivalDateFrom={{currentdate}}&arrivalDateTo={{currentdateplus60}}&adults=1&children=1&childrenAges=12&rateMode=Average&lengthOfStay=1&ratePlanCodes={{RatePlanCode}}