Cancel a reservation
POST {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/cancellations
To cancel a reservaiton in OPERA Cloud.
Request Body
{"reason"=>{"description"=>"Trip Cancelled", "code"=>"CXL"}, "reservations"=>[{"reservationIdList"=>[{"id"=>"{{ReservationId}}", "type"=>"Reservation"}], "roomStatus"=>"Inspected", "allowedActions"=>["Cancel"], "hotelId"=>"{{HotelId}}", "cxlInstr"=>{"deleteResTraces"=>false}}], "verificationOnly"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-app-key | string | ||
x-hotelId | string |