Update Reservation - add accompanying profile
PUT {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}
To update an existing reservation in OPERA by adding an accompanying guest (second profile)
Request Body
{"reservations"=>[{"reservationIdList"=>[{"type"=>"Reservation", "id"=>"{{ReservationId}}"}], "reservationGuests"=>[{"profileInfo"=>{"profileIdList"=>[{"type"=>"Profile", "id"=>"19819"}]}}, {"profileInfo"=>{"profileIdList"=>[{"type"=>"Profile", "id"=>"15987"}]}, "primary"=>false}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |