Skip to content

One-hotel path

Connect the hotel's own PMS

This page is for a hotel that keeps its own and uses ZimmerStack as its . Your PMS sends its numbers to ZimmerStack. ZimmerStack sends them to every , and sends the OTA bookings back to you.

How it works

  1. Your PMS

    The software the hotel uses every day.

    availability, rates, restrictions bookings
  2. ZimmerStack

    The channel manager. It talks to every OTA for you.

    availability, rates, restrictions bookings
  3. The OTAs

    Booking.com, MakeMyTrip, Agoda and others.

  • You send the hotel's , and . Together they are called .
  • You receive each an OTA makes, as a .

The hotel changes its numbers in your PMS only. Your PMS is the .

What you need

  • A with three : ari:read, ari:write and channel-bookings:read. Step 1 says how to get it.
  • Your first call is done. Step 2 shows it.
  • A with a public address that starts with https://. ZimmerStack sends the bookings to it.

Step 1: get the ids and map them

ZimmerStack names each and each with an id, a number. Read them with Get room types and rate plans.

Your PMS has its own names for the same rooms and prices. Save which id belongs to which name. This is called .

Your room “Deluxe Garden Room”
roomTypeId 412
Your price “Bed and breakfast”
ratePlanId 901
Your price “Room only”
ratePlanId 904

Keep this list in your own database. Read the ids again when the hotel adds or removes a room type.

Is a room type or a rate plan missing in ZimmerStack? The owner can add it in ZimmerStack. Or your PMS can create it, with one more scope, catalog:write: Create or change room types and Create or change rate plans.

Step 2: send availability, rates and restrictions

Send a number when it changes in your PMS. There are three requests, one for each kind of number.

Availability
How many rooms are free. Send it when a guest books at the , when a booking is cancelled, or when a room is closed. Update availability.
Rates
The price of each night. Send it when the hotel changes a price. Update rates.
Restrictions
The stay rules of a night, like a minimum stay of 2 nights. Send them when the hotel changes a rule. Update restrictions.

Here is one update. It says: 3 rooms of this room type are free on 24, 25 and 26 December.

update-availability.json
{
  "updates": [
    {
      "roomTypeId": 412,
      "dateFrom": "2026-12-24",
      "dateTo": "2026-12-26",
      "available": 3
    }
  ]
}

Save the example above as update-availability.json. Open a terminal in the same folder and run this. On Windows PowerShell, type curl.exe instead of curl.

terminal
curl -X PUT "https://api.zimmerstack.com/api/v1/connect-api/v1/availability" -H "Authorization: Bearer zsk_test_YOUR_KEY" -H "Content-Type: application/json" -d "@update-availability.json"

The answer has the 202. It means: accepted. The answer also has a batchId. You use it in step 3.

On the first day, send every night the hotel sells, once. One request can carry many nights. After that, send only what changed. Do not send the whole calendar again on a timer.

Step 3: check that an update reached the OTAs

202 means ZimmerStack saved your numbers. It does not yet mean the OTAs have them. Sending to the OTAs takes a few seconds, sometimes a few minutes.

One update is called a . To ask about it, use Check an update with the batchId.

status: pending
Still on its way. Wait 15 seconds and ask again.
status: landed
Done. Our connectivity partner has your numbers for the OTAs.
status: failed
Some nights were not taken. The answer says which, and why. Send a corrected number for those nights.

To ask about the whole hotel at once, use Get sync status. It says if anything is still waiting. After you send an update explains every case.

Step 4: receive OTA bookings, and lower your own room count

A guest books a room on an OTA. Within seconds, ZimmerStack sends the booking to your server. This message is a webhook. Each webhook carries one .

  1. Ask the owner to add your server's address in Admin. It is called a . Send messages on new bookings shows where the owner clicks.
  2. The owner gives you the . With it your server checks that each webhook is really from ZimmerStack. The same page has the code.
  3. Your server answers with status code 200 within 10 seconds. Then it does its work.

The field type of the event says what happened:

channel.booking.created
A new OTA booking. Save it in your PMS. Lower your room count for each night of the stay.
channel.booking.modified
The OTA changed the booking: the dates, the rooms, the money or the guest. The event carries the whole booking as it is now.
channel.booking.cancelled
The OTA cancelled the booking. Mark it cancelled in your PMS. Raise your room count for its nights again.

To find a booking you already hold, use two fields together: channel.otaName and channel.otaReservationCode.

ZimmerStack can help until your next update comes. It then takes one room off the number you last sent, and puts it back after a cancellation. This is a setting of the hotel. The owner finds it in Admin, under Developers, on the tab Settings. It is named "OTA bookings and cancellations move the room counts your software sends".

Step 5: catch up with the list of OTA bookings

Sometimes your server is down. ZimmerStack then tries each webhook again, for about one day. To be sure that you miss nothing, also read the bookings as a list.

List OTA bookings
Every OTA booking that changed since a time you choose. Each one is the same booking the webhook carries. List OTA bookings.
List events
Every event of the hotel, in order, each with a number. Ask for the events after the last number you handled. Events are kept for 90 days. List events.

Read one of the two after your server was down. Read it on a slow timer too, for example once an hour.

If the hotel also sells on its own website

Some hotels also sell on their own website, with the ZimmerStack . No OTA sends these bookings, but each one takes a room too. So your PMS must hear of them.

They come as webhooks of their own, and as a list: List website bookings. The list needs the scope direct-bookings:read. Bookings from the hotel's own website explains them.

Test it on the sandbox

Your test key works on the . Send updates there first. No OTA sees them. An update there reads landed within a minute.

To test step 4, ask the owner to add your server's address on the sandbox too. Then make a test booking: Make a test booking. Your server receives the real webhook. The owner can do the same in Admin: the card Sandbox has a button Simulate a booking.

When all five steps work, read Go live.

Words on this page

PMS
Property management system: the software a hotel uses at its front desk for bookings, guests and bills.
Channel manager
Software that keeps a hotel's rooms and prices the same on every OTA. Learn more
OTA
Online travel agency: a website that sells hotel rooms, like Booking.com, MakeMyTrip or Agoda. Learn more
Availability
How many rooms of one room type are free to sell on one night. Learn more
Rates
The price of a room for one night. Learn more
Restrictions
Stay rules for a night, like a minimum stay of 2 nights, or no arrival on that day. Learn more
ARI
The hotel industry's short name (availability, rates and inventory) for what a hotel sends to the OTAs. In this API: availability, rates and restrictions. Learn more
Booking
A guest has reserved a room for some nights. Also called a reservation.
Webhook
A message ZimmerStack sends to your server when something happens, like a new booking.
Source of truth
The one system whose numbers are the right ones. After go-live, that is your software.
Test key
A key that starts with zsk_test_. It works only on a sandbox, so it can never change a real hotel.
Scope
One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
Server
A computer that runs your software all the time and can be reached over the internet.
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.
Rate plan
One way to sell a room type, with its own price. For example Room only, or With breakfast.
Mapping
Saying which room and price in one system is which room and price in another system. For an OTA: each of its rooms and rates is matched to one of the hotel's rate plans. A person makes the first matching. Changing it later is called a re-map. Learn more
Front desk
The reception of a hotel, where guests arrive and leave.
Status code
A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
Batch
One update you sent. It gets an id (batchId), so you can ask later if it reached the OTAs.
Event
One thing that happened, like a new booking. Each webhook carries one event.
Webhook endpoint
The address of your server where ZimmerStack sends webhooks.
Signing secret
A secret code ZimmerStack shares with you once. With it your server can check that a webhook is really from ZimmerStack.
Overbooking
Selling the same room to two guests for the same night.
Booking engine
The part of a hotel's own website where a guest books a room.
Sandbox
Your test hotel. It works like a real hotel, but no OTA can see it and it costs nothing.

Routes, samples, limits and codes on this page come from the API's public contract, read live, Sat, 05 Dec 2026 02:02:14 UTC.