Basics · page 2 of 5
Room types, rate plans and rates
A hotel does not sell room number 104. It sells a kind of room, at a price, for a night. This page teaches the words hotels use for that.
The problem
Think of The Lantern House again. It has 10 rooms that are all the same: the same size and the same bed. Their doors say 101 to 110.
A guest on an does not choose room 104. The guest books a kind of room, for some nights, at a price. The hotel then gives the guest one of its rooms of that kind.
So an OTA asks three questions about each kind of room. How many are free? What does one cost? Is there a rule for the stay?
Hotels have a word for each part of the answer. Your software uses the same words in every request.
A room and a room type
A room is one real room, with a door and a number.
A is a kind of room. The hotel gives it a name, like Deluxe Room. All rooms of one room type are sold as the same thing.
Room type
Deluxe Room
- Room101
- Room102
- Room103
- Room104
- Room105
- Room106
- Room107
- Room108
- Room109
- Room110
The Lantern House has one room type, Deluxe Room, with 10 rooms. A bigger hotel has more room types. For example Deluxe Room and Family Suite.
Availability is counted for a room type, night by night
is one number. It says how many rooms of one room type are free on one night.
Each night has its own number. On 24 December, 9 Deluxe Rooms are free. On 25 December, only 3 are free.
A night is named by the date it starts on. The night of 24 December ends on the morning of 25 December.
No room number is sent. The OTAs get the count for the room type, and nothing more.
A rate plan is one way to sell a room type
One guest wants only the room. Another guest wants the room and breakfast, and pays more. The room is the same. The offer is different.
Each offer is a . A rate plan is one way to sell a room type. It has a name and its own prices.
The Lantern House sells the Deluxe Room in two ways:
- Room only
- The guest gets the room. No meal is included.
- Bed and breakfast
- The guest gets the room, and breakfast every morning.
A hotel can make more rate plans. A common one has a lower price and is : the guest gets no money back after cancelling.
Two facts to keep in mind:
- A rate plan belongs to one room type.
- All rate plans of a room type sell the same rooms. A rate plan has no rooms of its own.
A rate is one price
A is a price. It is the price of one rate plan, for one room, for one night.
The rate can be different on each night. Many hotels ask more on a busy night.
Example: Bed and breakfast costs 4,500 on 24 December and 5,000 on 25 December.
Every rate is in the hotel's . The Lantern House sells in INR, so 4,500 means 4,500 rupees.
A rate plan can also say how many guests its price is for. Hotel people call this number .
See it in one picture
This is the Deluxe Room on three nights. The top row is the room type, with its availability. The rows under it are its rate plans.
Press the button a few times and watch the top row. Then choose the other rate plan and press again.
The Lantern House, three nights in December 2026
| Night | Thu24 Dec | Fri25 Dec | Sat26 Dec |
|---|---|---|---|
| Room typeDeluxe Roomrooms free | 9 | 3 | 10 |
| Rate planRoom onlyrate for one night | 4,000 | 4,500 | 4,000 |
| Rate planBed and breakfastrate for one night | 4,500 | 5,000 | 4,500 |
| Rate planBed and breakfastrestriction: minimum stay | 2 nights | None | None |
Rates are in INR, for one room for one night.
A guest wants one night, 25 December. The guest chooses
On 25 December, 3 Deluxe Rooms are free. Choose a rate plan, then press the button.
What the picture shows:
- Availability is one row. It belongs to the room type.
- Each rate plan has its own row of rates.
- A booking on any rate plan takes one room from the same top row.
Restrictions belong to a rate plan
Sometimes a price comes with a rule. For 24 December, The Lantern House wants guests to stay 2 nights or more.
Such a rule is a . Hotel people also say "stay rule".
A restriction is set on a rate plan, for a night. So Bed and breakfast can have a rule that Room only does not have.
Look at the last row of the picture above. The rule for 24 December is on Bed and breakfast only.
Two restrictions you will use often:
- : the smallest number of nights a guest must book.
- : this rate plan is not sold on this night.
The meal plan letters: EP, CP, MAP and AP
A rate plan says which meals its price includes. This is called the .
Hotels write the meal plan with two or three letters. You will see these letters in the API, in a field named mealPlan.
- EP
- Room only. No meal is included. The letters mean European plan.
- CP
- Breakfast is included. The letters mean Continental plan.
- MAP
- Breakfast and one more meal are included: lunch or dinner. Also called half board. The letters mean Modified American plan.
- AP
- Breakfast, lunch and dinner are included. Also called full board. The letters mean American plan.
At The Lantern House, Room only is EP. Bed and breakfast is CP.
- The meal is inside the price. The rate of 4,500 for Bed and breakfast already includes breakfast.
- One rate plan has one meal plan. To sell the room with breakfast and without it, a hotel makes two rate plans.
- Sometimes the field is empty (
null). It means the hotel has not chosen a meal plan. It does not mean room only.
Every room type and rate plan has an id
Two hotels can both have a Deluxe Room. A hotel can also change a name. So the API does not use names.
The API uses ids. An id is a whole number that names one thing. ZimmerStack gives an id to each room type and to each rate plan.
- Deluxe Room
- A room type. Its id is 412. In a request you write
roomTypeId412. - Room only
- A rate plan. Its id is 904. In a request you write
ratePlanId904. - Bed and breakfast
- A rate plan. Its id is 901. In a request you write
ratePlanId901.
These numbers are examples. Your hotel has its own numbers.
Every request says what it is about, with an id:
- Update availability
- Names the room type, with
roomTypeId. - Update rates
- Names the rate plan, with
ratePlanId. - Update restrictions
- Names the rate plan, with
ratePlanId.
Here is the data of one request. It says: 9 Deluxe Rooms are free on the night of 24 December.
{
"updates": [
{
"roomTypeId": 412,
"dateFrom": "2026-12-24",
"dateTo": "2026-12-24",
"available": 9
}
]
}You read the ids of a hotel with one request. The step Make your first call shows how.
What to remember
- A room is one real room. A room type is a kind of room.
- Availability is counted for a room type, for each night.
- A rate plan is one way to sell a room type. It has its own prices.
- A rate is the price of one rate plan for one night.
- All rate plans of a room type sell the same rooms.
- A restriction is a rule for the stay. It is set on a rate plan.
- EP, CP, MAP and AP say which meals the price includes.
- A request names a room type with
roomTypeId, and a rate plan withratePlanId. It can name them with your own ref too.
Words on this page
- OTA
- Online travel agency: a website that sells hotel rooms, like Booking.com, MakeMyTrip or Agoda. Learn more
- Room type
- A kind of room the hotel sells, like Deluxe Room or Family Suite. A hotel can have 12 rooms of one room type.
- Availability
- How many rooms of one room type are free to sell on one night. Learn more
- Rate plan
- One way to sell a room type, with its own price. For example Room only, or With breakfast.
- Non-refundable
- A price where the guest gets no money back after cancelling. Learn more
- Rates
- The price of a room for one night. Learn more
- Currency
- The money a hotel sells in, like INR for rupees or USD for dollars.
- Occupancy
- How many guests stay in one room.
- Restrictions
- Stay rules for a night, like a minimum stay of 2 nights, or no arrival on that day. Learn more
- Minimum stay
- The smallest number of nights a guest must book. With a minimum stay of 2, a one-night booking is not possible.
- Stop sell
- A switch on a rate plan for one night. When it is on, that rate plan is not sold on that night.
- Meal plan
- Which meals the price includes: none (EP), breakfast (CP), breakfast and one meal (MAP), or all meals (AP).
- Ref
- Your own name or id for a room type or a rate plan. You choose it, and ZimmerStack remembers it.