Pricing Rules

Jun Zhou, Founder at AirROI
by Jun ZhouFounder at AirROI
Published: September 4, 2026
Updated: September 5, 2026

Pricing rules express your policy on top of AirROI's date-specific model. They are optional: an omitted rule is off. Start with one rule, inspect its explanation, then add the next.

Choose a rule by the problem you need to solve

Your questionStart here
How should rates change close to arrival?Last-minute pricing
What should I charge far in advance?Far-future pricing
Can I fill a short gap between bookings?Gap-night pricing
Should nights beside a booking get an adjustment?Adjacent-day pricing
Is this property's booking calendar filling up?Occupancy pacing
Can I change weekdays or stay restrictions?Weekday and stay rules
Can a policy differ by month or event dates?Seasonal rule overrides
Can I bound or explicitly set a price?Price limits and overrides

Rule modes and presets

Preset names describe different curves—not just different discounts

Each last-minute preset has its own window, maximum discount, and curve shape.

Conservative: $184.00 to $200.00. Balanced: $170.00 to $200.00. Aggressive: $150.00 to $200.00.Standalone nightly price · USD$140$160$180$200$220081624324045Days until arrival
Hover, tap, or use arrow keys to explore. Select a legend to compare.
AirROI preset formulas on a $200 post-model price. This comparison shows rule effects before other rules and price limits.

Start by comparing the shapes, not just the names. A conservative last-minute rule acts over fewer days with a smaller maximum discount; aggressive changes both the window and the curve. “Disabled” means this optional rule is off—not that the model returns a flat calendar.

Omit a rule or use {"mode": "disabled"} to turn it off. last_minute, far_future, and gap_day support presets:

Add the following object to a complete Calendar Prices request. The gap preset also needs current calendar evidence; this fragment is not a standalone request.
{
  "pricing_rules": {
    "last_minute": {"mode": "balanced"},
    "far_future": {"mode": "balanced"},
    "gap_day": {"mode": "balanced"}
  }
}
PresetLast-minute discountFar-future premiumGap discount: 1 / 2 / 3 nights
conservative0% at 7 days out → −8% today0% at 270 days → +3% at 365 days, held beyond−4% / −2% / 0%
balanced0% at 21 days out → −15% today0% at 180 days → +7% at 365 days, held beyond−8% / −4% / −2%
aggressive0% at 45 days out → −25% today0% at 120 days → +12% at 365 days, held beyond−12% / −8% / −4%

Last-minute presets use curved ramps; far-future presets ramp linearly. Preset gap rules apply on weekends and need the calendar described in the gap-night guide. Other rules accept only custom or disabled. Custom rules require complete settings; do not send settings, overrides, or apply_on_weekends with a preset or disabled mode.

Understand the order before combining rules

The five automatic pricing rules add their percentages against the same post-model price, without a combined cap. Custom weekday adjustments and explicit percentage overrides follow. Price limits follow, but a fixed override takes priority over those limits.

Try combining pricing rules

Illustrative USD prices, not a live recommendation. Hold gap discount at −15%, occupancy pacing at −10%, and custom weekday at +10%. Assume each rule qualifies.

Combined automatic adjustment: -45%. Price limits apply after these adjustments.

StageUSD per night
After model effects$200.00
Automatic rules -45%$110.00
Custom weekday +10%$121.00
After $150 minimum$150.00

Automatic rules share the same $200 basis. The custom weekday adjustment comes afterward. A fixed price override, if supplied, would bypass this minimum.

Explore the rules

Before you automate

Use the explanation guide to understand a day's final rate, and the calendar guide to supply enough evidence. A rule that does not qualify may correctly leave the price unchanged.