RahalCorporate
PoliciesReference

Hotel Rule Reference

Complete hotel rule configuration options

Hotel Rule Reference

Complete reference for hotel rule configuration.

Location Matching

FieldTypeDescription
CityString/nullCity code (null = any)
CountryString/nullCountry code (null = any)

Match Types

TypePriorityFields Set
Specific City10city set
Any City in Country50country set, city null
All Hotels100Both null

Price Configuration

FieldTypeDescription
Max Price Per NightNumberMaximum allowed nightly rate
CurrencyStringCurrency code (USD, EUR, IQD, etc.)

Supported Currencies

CodeCurrency
USDUS Dollar
EUREuro
GBPBritish Pound
IQDIraqi Dinar
SARSaudi Riyal
AEDUAE Dirham

Star Rating Configuration

FieldTypeDescription
Allowed Star RatingsArrayList of allowed ratings (1-5)

Values

ValueDisplay
1⭐ (1 Star)
2⭐⭐ (2 Stars)
3⭐⭐⭐ (3 Stars)
4⭐⭐⭐⭐ (4 Stars)
5⭐⭐⭐⭐⭐ (5 Stars)

Example:

{
  "allowedStarRatings": [3, 4]
}

Constraints

FieldTypeDescription
Max NightsNumber/nullMaximum stay length per booking (null = unlimited)
Advance Booking DaysNumber/nullMinimum days before check-in (null = none)

Action Override

FieldTypeDescription
ActionEnum/nullOverride policy default action (null = use default)

Possible values: ALLOW, WARN_AND_ALLOW, REQUIRE_APPROVAL, BLOCK

Priority

FieldTypeDescription
PriorityNumberRule priority (lower = higher precedence)

Default values by match type:

  • Specific City: 10
  • Country: 50
  • All Hotels: 100

Complete Example

{
  "city": null,
  "country": "AE",
  "maxPricePerNight": 200,
  "currency": "USD",
  "allowedStarRatings": [4, 5],
  "maxNights": 10,
  "advanceBookingDays": 5,
  "action": null,
  "priority": 50
}

This rule:

  • Applies to all hotels in UAE
  • Allows up to $200 per night
  • Allows 4 and 5 star hotels
  • Maximum 10 night stays
  • Must book 5 days in advance
  • Uses policy default action

On this page