Remove Room Dynamic Rates

Remove Room Dynamic Rates

POST [PlatformAddress]/api/1.0/venue?action=removeRoomDynamicRates

Remove one or more dynamic rates from venue rooms.

Path Parameters

NameTypeDescription

venueId

integer

The unique id of the venue to which the rate plan belongs

barId

integer

The unique id of the rate plan to which the dynamic rate applies

roomId

integer

The unique id of the room to which the rate applies

startDate

string

The start date from which the dynamic rate will be removed (Date Format)

endDate

string

The end date until which the dynamic rate will be removed (Date Format)

{
  "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

PropertyDescriptionType

success

Whether or not the room dynamic rates were removed

boolean

Last updated