Common Workflows-Upgrade a Reservation in OPERA Cloud using Property APIs

Number of APIs: 5

  1. Retrieve reservation and see if an upsell offer in OPERA Cloud is available GET {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}?fetchInstructions=Reservation&fetchInstructions=UpsellInfo&allowedActions=Upsell

  2. Find available upsell offers configured in OPERA Cloud to present to a guest GET {{HostName}}/par/v0/hotels/{{HotelId}}/availableUpsells?numberOfRooms=1&ratePlanCode=BARBB&roomType=SUP&startDate=2021-03-22&endDate=2021-03-23&fixedRate=false&reservationStatus=Reserved&rateDate=2021-03-22&requiredAmount=90&adults=1&rateAmount=90&profileId={{ProfileId}}&reservationId={{ReservationId}}

  3. Add an upsell to a reservation POST {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/upsell

  4. See if an upsell exists on a reservation GET {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/upsell

  5. Remove an upsell from a reservation DELETE {{HostName}}/rsv/v0/hotels/{{HotelId}}/reservations/{{ReservationId}}/upsell