# Availability Rules

## How to find this feature

<figure><img src="/files/LdONqC96v4EInhaA2owv" alt=""><figcaption></figcaption></figure>

Go to the inventory page and make sure onl1 1 proeprty is selected so you can see the table.

Then click on the "Actions" button to find the "Availability Rules" feature

## Create a Rule

<figure><img src="/files/acxapxEXRPwcJnEmgRUp" alt=""><figcaption></figcaption></figure>

The above image shows what it looks like with no rules setup

To make a new rule you can click on the "Create" button

<figure><img src="/files/OrxKmBIhyberrxxNhoRj" alt=""><figcaption></figcaption></figure>

**Affected Dates**: Here you should set the date range for the rule, you can set many years ahead if you want to set for a long time

**Type:** Close Out, Availability Offset, Max Availability (Details below what each of these means)

&#x20;![](/files/xobP3SN6RdsewNYNyB3B)

## Close Out

This is used if you want to stop giving availability for this OTA on the selected dates

Example: You want to block all of August to Expedia as you are busy with direct sales instead.

## Max Availability

This setting will limit the availability for the room

Example: If you have 10 rooms and set Max Availability to 5 then the channel will only see 5 rooms available even if you have 10 total.

If one room is booked and now 9 total is left the channel will still get an update to show 5. It will work like this until the total available is less than the max available rooms and then it will work as normal.

Typical Use Cases:

* Limit rooms available so you don't get large group bookings
* Limit rooms available so rooms look more scarce on the channel

## Availability Offset

This setting just applies a **negative** amount to the availability, you don't need to enter a negative sign.

If you set "2" to the offset and you have 10 double rooms total then you will have 10 - 2 = 8 rooms to sell.

Once you have 2 rooms left you end up with 0 rooms left (2 - 2 = 0)

Use Case:

* Stop giving availability to some high commission channels when only a few rooms left
* Give last room availability to selected channels or own website

Affected Channels: You need to select which OTA this rul applies to

Room Types: Choose which room types this rule affects.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.channex.io/application-documentation/availability-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
