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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |