change Sell Limit By Date Range

PUT {{HostName}}/inv/v1/hotels/{{HotelId}}/sellLimitsByDateRange

You can use this API to create sell limits in OPERA by date range.

Request Body

{"sellLimitsByDateRange"=>[{"sellLimitDateRanges"=>[{"actionType"=>"SET_AVAILABLE", "startDate"=>"2023-07-05", "endDate"=>"2023-07-09", "sunday"=>true, "monday"=>true, "tuesday"=>true, "wednesday"=>true, "thursday"=>true, "friday"=>true, "saturday"=>true, "amount"=>"64", "flatOrPercentage"=>"F"}], "hotelId"=>"{{HotelId}}", "codeCategory"=>"RoomType", "codeValue"=>"SUP"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
x-hotelidstring
x-app-keystring