Remove Room Dynamic Rates

post
Remove Room Dynamic Rates

[PlatformAddress]/api/1.0/venue?action=removeRoomDynamicRates
Remove one or more dynamic rates from venue rooms.
Request
Response
Request
Path Parameters
venueId
required
integer
The unique id of the venue to which the rate plan belongs
barId
required
integer
The unique id of the rate plan to which the dynamic rate applies
roomId
required
integer
The unique id of the room to which the rate applies
startDate
required
string
The start date from which the dynamic rate will be removed (Date Format)
endDate
required
string
The end date until which the dynamic rate will be removed (Date Format)
Response
200: OK
{
"success": true
}

NOTE: The dynamic data is only available to venues that integrate with a distribution channel.

Examples

Remove the room dynamic rates from a single date

{
"venueId": 123
"barId": 456
"roomId": 789
"startDate": "2018-07-27"
"endDate": "2018-07-27"
}

Remove the room dynamic rates from multiple dates

{
"venueId": 123
"barId": 456
"roomId": 789
"startDate": "2018-07-27"
"endDate": "2018-08-03"
}

Returns

Property

Description

Type

success

Whether or not the room dynamic rates were removed

boolean