put Rate Plan Posting Rhythms
PUT {{HostName}}/rtp/v1/hotels/{{HotelId}}/ratePlans/{{RatePlanCode}}/postingRhythms
Use this operation to add a package (such as Breakfast, or box of chocolated) to a rate plan.
Request Body
{"ratePlan"=>{"hotelId"=>"{{HotelId}}", "code"=>"{{RatePlanCode}}"}, "postingRhythms"=>[{"code"=>"PAY3STAY", "description"=>"Pay 3 nights and stay 4 nights", "beginSellDate"=>"2023-10-09", "endSellDate"=>"2023-10-11", "requiredPaidNights"=>"4", "eligibleFreeNights"=>"1", "repeatWithinStay"=>true, "repeatWithinSellSegment"=>true}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string | ||
x-hotelid | string | ||
x-app-key | string |