Guide
Build a rate grid(a calendar screen)
A is a calendar screen. Each row is a or a . Each column is a night. A hotel person reads the prices and the free rooms there, and changes them. Four requests draw the screen. One request saves each kind of change.
What you are building
This is the shape of the screen. The numbers are examples.
| Room type / rate plan | Thu24 Dec | Fri25 Dec | Sat26 Dec | Sun27 Dec | Mon28 Dec | Tue29 Dec | Wed30 Dec |
|---|---|---|---|---|---|---|---|
| Deluxe Garden Roomavailability · roomTypeId 412 | 5 | 3 | 1 | 4 | 5 | 5 | 5 |
| Bed and breakfastratePlanId 901 | 4,500 | 5,200 | 5,200stop sell | 4,500 | 4,500 | 4,500 | 4,500 |
| Room onlyratePlanId 904 | 5,900 | 6,600 | 6,600stop sell | 5,900 | 5,900 | 5,900 | 5,900 |
| Family Suiteavailability · roomTypeId 413 | 3 | 1 | 0 | 2 | 3 | 3 | 3 |
| Room only, non-refundableratePlanId 902 | 5,900 | 6,600 | 6,600 | 5,900 | 5,900 | 5,900 | 5,900 |
GET /catalog. The top line of each group comes from GET /availability, the rates from GET /rates, and the closed Saturday from GET /restrictions.One small example. The manager of The Lantern House opens the grid. She changes the price of the Deluxe Room on 24 December from 4,500 to 5,200. She presses Save. Your server sends one request with that one night. In a minute or two, every has the new price.
- The rows
- Each room type, then the rate plans that sell it. Both come from GET /catalog. Each one has an id, a number. Every other request uses these ids.
- Availability
- belongs to the room type. It is one number for each night. It is the same number for every rate plan of that room type.
- Rates and restrictions
- and belong to the rate plan. There is one price for each night. And there are the rules of that night: , , , and .
- One grid for one hotel
- A price goes to every OTA the rate plan is mapped to (). To sell at another price on one OTA, read the last part of this page.
Before you start
- A of your . It starts with
zsk_test_. It needs two :ari:readandari:write. - The sandbox works like a real hotel, but no OTA sees it. Build the whole screen there. Then change the test key for a live key.
- A of your own. Your screen talks to your server. Your server talks to ZimmerStack.
- Is this your first request? Start with Make your first call (many hotels) or Make your first call (one hotel).
The steps, in order
- 1
Read the rows
GET /cataloglists the room types and the rate plans. For each rate plan it says which room type it sells. The list changes only when the hotel adds or removes a room type or a rate plan. It does not change while a grid is open. Read it once and keep it for ten minutes. - 2
Read the cells
Three requests fill every row:GET /availability,GET /ratesandGET /restrictions. Each one takesfromandto. Show 14 to 60 nights. Read the next nights when the person scrolls. - 3
Let the person change the numbers
Keep each change on the screen, one change for one cell. Send nothing while the person types. - 4
Save in ranges
Nights next to each other, in one row, with the same value, are one range. One range is one item of the request. Send onePUTfor each kind of change: rates, availability, restrictions. Send them one after another. - 5
Show that the change arrived
A save answers202with abatchId. It means: ZimmerStack saved the values and is sending them to the OTAs. AskGET /batches/{batchId}until it sayslanded. - 6
Keep the grid fresh
Read the nights again after a save, when a booking webhook names those nights, and when the person asks. Never read on a timer.
Read the grid: four requests
| Part | Request | What you get |
|---|---|---|
| The rows | GET /catalog | The room types and the rate plans: their ids, their names, the meal plan, and the hotel's currency. |
| Availability | GET /availability | One number for each room type and each night. |
| Rates | GET /rates | One price for each rate plan and each night. rate is the price as text, with the currency's own decimals, ready to show. rateMinor is the same price in hundredths. |
| Restrictions | GET /restrictions | For each rate plan and each night: stop sell, closed to arrival, closed to departure, minimum stay and maximum stay. |
- PartThe rowsRequestGET /catalogWhat you getThe room types and the rate plans: their ids, their names, the meal plan, and the hotel's currency.
- PartAvailabilityRequestGET /availabilityWhat you getOne number for each room type and each night.
- PartRatesRequestGET /ratesWhat you getOne price for each rate plan and each night. rate is the price as text, with the currency's own decimals, ready to show. rateMinor is the same price in hundredths.
- PartRestrictionsRequestGET /restrictionsWhat you getFor each rate plan and each night: stop sell, closed to arrival, closed to departure, minimum stay and maximum stay.
Request 1: the rows
Put your key in place of zsk_test_YOUR_KEY.
Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/catalog" -H "Authorization: Bearer zsk_test_YOUR_KEY"Requests 2, 3 and 4: the cells
This request reads the rates of 30 nights, from 1 December to 30 December 2026.
Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/rates?from=2026-12-01&to=2026-12-30" -H "Authorization: Bearer zsk_test_YOUR_KEY"GET /availability and GET /restrictions take the same from and to. Change only the last word of the address.
With the Node package, one call does the four reads and builds the rows for you.
// The grid for the next fortnight: rows are room types with their rate plans, columns are nights.
const today = new Intl.DateTimeFormat("en-CA", { timeZone: property.timezone }).format(new Date()); // YYYY-MM-DD in the hotel's zone
const grid = await zs().grid.load(today, addDays(today, 13));
const plan = grid.rows[0]?.plans[0];
What comes back
Each answer has a list named cells. One is one row on one night. The examples show one cell each.
{
"from": "2026-12-01",
"to": "2026-12-30",
"currency": "INR",
"decimals": 2,
"cells": [
{
"ratePlanId": 901,
"date": "2026-12-24",
"rate": "4500.50",
"rateMinor": 450050,
"source": "MANUAL"
}
]
}- available
- How many rooms of this room type are free on this night.
- rate
- The price of this night, as text. It has the currency's own decimals, so you can show it as it is.
- rateMinor
- The same price in hundredths. 450050 is 4,500.50.
- currency, decimals
- The hotel's currency, and how many digits its prices have after the point.
- source
- Where this price came from. MANUAL means your software or a person set it.
- stopSell, closedToArrival, closedToDeparture
- true or false. null means no rule is set for this night.
- minStayArrival
- The minimum stay for a guest who arrives on this night. null means no rule is set.
- minStayThrough
- The minimum stay for every stay that includes this night. null means no rule is set.
- maxStay
- The maximum stay. null means no rule is set.
Things to know about reading
fromandtoare both included. If you leave them out,fromis today andtois 30 days later.- One read can cover up to 500 days. A screen never needs so many at once.
- ZimmerStack answers a read from its own saved numbers. It does not ask the OTAs' side. So a read is fast.
- A read still counts in your : 120 requests a minute for one key. Read a group of nights when it comes into view. Do not send one request for each row or for each night.
- Dates are days on the hotel's own calendar. Its is in
GET /property. Keep each date as the text you got. Do not turn it into a time of the browser's own clock: it can move to the wrong night.
Save a change: one request for each kind
There are three requests. All three have the same shape: a list named updates. Each item of the list is one row and one range of nights.
- Send the full value, not the change. A room count of 3 means "3 rooms are free". It does not mean "3 more".
- The last item wins. When two items of one request name the same night, the later one is used.
- A value that is already saved costs nothing. ZimmerStack does nothing for a cell that already holds the value you sent.
{
"updates": [
{
"ratePlanId": 901,
"dateFrom": "2026-12-01",
"dateTo": "2027-03-31",
"rate": "4500.00",
"currency": "INR"
},
{
"ratePlanId": 901,
"dateFrom": "2026-12-01",
"dateTo": "2027-03-31",
"days": [
"fr",
"sa"
],
"rate": 5200,
"currency": "INR"
}
]
}Send it
This is the first example above, PUT /rates, in your language. The other two are sent the same way. Each one has its own page: Update rates, Update availability and Update restrictions.
Put a code of your own in place of YOUR-OWN-CODE-0001. Use a new code for each Save.
Save the example above as update-rates.json. Open a terminal in the same folder and run this. On Windows PowerShell, type curl.exe instead of curl.
curl -X PUT "https://api.zimmerstack.com/api/v1/connect-api/v1/rates" -H "Authorization: Bearer zsk_test_YOUR_KEY" -H "X-Idempotency-Key: YOUR-OWN-CODE-0001" -H "Content-Type: application/json" -d "@update-rates.json"Rules for a good save
- Send ranges, not single nights
- Thirty nights at one price are one item, with
dateFromanddateTo. Every Friday and Saturday of a season is one item, withdays. One request can hold up to 1,000 items and 5,000 cells. - Send only what changed
- Send the cells the person changed, when they press Save. Do not send the whole calendar on a timer, or each time the page opens. That uses up your rate limit, and ZimmerStack can pause your updates.
- Send one request at a time
- One key may send 30 updates a minute. One hotel may get 60 a minute from all its keys together. One Save is three requests at most. Send them one after another.
- A price has the same shape both ways
- Send
rate: 4500.50, as a number or as the text"4500.50", with the hotel's . You readrate: "4500.50". The price is kept exactly, with the currency's own : two for rupees, euros and dollars, none for yen.GET /propertygivesdecimals. A price that had to be rounded is named in the answer, in a list calledrounded.rateMinoris still in every answer: the same price in hundredths, for every currency. So1500000is 15,000 yen. More on Money. - To stop selling, do not use a price
stopSell: trueonPUT /restrictionsstops one rate plan on that night. The other rate plans of the room type keep selling.available: 0onPUT /availabilitystops the whole room type on every OTA: Closing a night. A price of 0 is refused. A price below 10% or above 1,000% of the rate plan's is refused too. This is the : Price band. Check what the person typed before you send it.- Every save has an idempotency key
- Send the
X-Idempotency-Keywith every save. It is your . Make a new code for each Save. When you send the same Save again after a failure, use the same code. Then a request that timed out is never done twice.
On Node.js, the package keeps most of these rules for you. Give zs.grid.save the single nights the person changed. It joins them into ranges. It splits a save that is too big. It sends one request for each kind, one after another. It gives each request its idempotency key. One rule stays yours: send only what changed, when the person presses Save.
// Change one price (major units: 5200 = 5,200.00). Accepted means it is in ZimmerStack's record.
const [accepted] = await zs().grid.save({ rates: [{ ratePlanId: plan.ratePlan.id, date: addDays(today, 7), rate: 5200 }] });
if (!accepted) return;
Show that the change reached the OTAs
{
"batchId": "7f1d2c4e-5a6b-4c8d-9e0f-112233445566",
"resource": "rates",
"requestedCells": 121,
"acceptedCells": 34,
"noopCells": 87,
"rejected": [],
"pushedBy": "ari-projector",
"poll": "/api/v1/connect-api/v1/batches/7f1d2c4e-5a6b-4c8d-9e0f-112233445566"
}202 means ZimmerStack saved your values. One save is one , with its own batchId. Availability reaches the OTAs in seconds. Rates and restrictions take a minute or two. They take longer when many values change at once. Tell the person, with three states:
| When | Show | Because |
|---|---|---|
| The 202 arrived | Saved. Sending to the OTAs. | ZimmerStack holds the values. They are on their way. |
status: landed | Sent. | Nothing of this save is still waiting. |
status: failed | Not sent, with the text of lastError. | Our connectivity partner refused a value. Correct that night and save again. |
- WhenThe 202 arrivedShowSaved. Sending to the OTAs.BecauseZimmerStack holds the values. They are on their way.
- When
status: landedShowSent.BecauseNothing of this save is still waiting. - When
status: failedShowNot sent, with the text of lastError.BecauseOur connectivity partner refused a value. Correct that night and save again.
Ask GET /batches/{batchId} once every 15 seconds at most. Stop after about five minutes. GET /sync answers for the whole hotel at any time. See Check an update, Get sync status and After you send an update.
A 202 can also carry two lists. rejected holds groups of cells that were not saved. One example is a rate plan whose own rules do not allow the change. warnings holds things to look at. Show both beside the rows they name. Everything else in the request was saved.
With the package, zs.batches.wait asks at that speed and gives back the last status. Use it in a script or in a background job. Some hosts stop your code as soon as a request is answered. They are called hosts. There, do not wait inside the request. Return the batchId and ask again later.
// On its way to the channels: "landed", or still "pending" after five minutes.
const batch = await zs().batches.wait(accepted.batchId);
console.log(`${accepted.acceptedCells} night changed, ${batch.status}`);
Keep the grid fresh
- After a save, read the nights once more. The screen then shows what ZimmerStack holds.
- When an OTA booking comes, the names its nights and its room types. Read those nights again: the availability went down. See Webhooks.
- A booking from the hotel's own website does the same. Its webhook is
direct.booking.created. A on one (direct.booking.modified) or a cancellation gives the room back. See Bookings from the hotel's own website. - When the person presses Refresh, or comes back to the tab after some time.
- Not on a timer. A grid that reads again every few seconds, in every open tab, uses up your limit: Rate limits.
The code
On Node.js, start from the package. A is ready-made code. Install it with this command:
npm install @zimmerstack/connectThen this one file is the whole server side. zs.grid.load and zs.grid.save do the reading, the ranges, the speed and the retries. When the API changes, the package changes with it, and your code stays the same. The rest of the app is on Node package.
import type { GridEdits } from "@zimmerstack/connect";
import { refusal, zs } from "@/lib/zimmerstack";
// Your own sign-in decides who may call these routes: check it first, in both handlers.
/** GET /api/grid?from=2026-12-01&to=2026-12-14: rows are room types with their rate plans, columns are nights. */
export async function GET(request: Request): Promise<Response> {
const { searchParams } = new URL(request.url);
const from = searchParams.get("from");
const to = searchParams.get("to");
if (!from || !to) return Response.json({ error: "from and to are required (YYYY-MM-DD)" }, { status: 400 });
try {
return Response.json(await zs().grid.load(from, to));
} catch (err) {
return refusal(err);
}
}
/** PUT /api/grid with what the person changed: single nights, only the ones that changed. */
export async function PUT(request: Request): Promise<Response> {
const edits = (await request.json()) as GridEdits;
try {
// Nights are folded into ranges and sent one request per resource. Each answer carries a batchId:
// the values are in ZimmerStack's record and on their way to the channels.
const accepted = await zs().grid.save(edits);
return Response.json({ accepted });
} catch (err) {
return refusal(err);
}
}
Without the package, or in another language: the same thing in four files. They need no other package, only Node 20 or newer. The first three run on your server. The fourth is the screen. It can draw the package's grid too, because that grid has the same shape. One thing differs: the package's route names the sentence of a refusal error.
These files are checked against the API's contract each time this site changes. Every body they send passes the same check the server uses.
/**
* A small server-side client for the ZimmerStack Connect API. No dependencies; Node 20 or newer.
*
* SERVER ONLY. The key can change a hotel's prices on every channel: it never goes to a browser,
* a mobile app, a public repository or a log line. Your own frontend calls YOUR server, and your
* server calls ZimmerStack with this file.
*/
const BASE = "https://api.zimmerstack.com/api/v1/connect-api/v1";
export class ZimmerStackError extends Error {
constructor(
public status: number,
/** The stable code to branch on (RATE_LIMITED, RATE_OUT_OF_BAND, …). Messages are for people and may change. */
public code: string,
message: string,
public details?: unknown,
public retryAfterSeconds?: number
) {
super(message);
this.name = "ZimmerStackError";
}
}
export interface ZsOptions {
method?: "GET" | "PUT" | "POST" | "DELETE";
query?: Record<string, string | number | undefined>;
body?: unknown;
/** Company keys only: the hotel this request acts on (GET /properties lists them). */
propertyId?: number;
}
interface Envelope {
message?: string;
data?: { code?: string; details?: unknown } & Record<string, unknown>;
}
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
const MAX_ATTEMPTS = 4;
/** When a budget is nearly used up, the moment it refills. Every call waits for it instead of earning a 429. */
let resumeAt = 0;
function notePace(res: Response) {
// RateLimit: "key";r=117;t=42, "key-writes";r=29;t=42 (r = requests left, t = seconds until the window refills)
for (const part of (res.headers.get("ratelimit") ?? "").split(",")) {
const left = /;r=(\d+)/.exec(part);
const refill = /;t=(\d+)/.exec(part);
if (left && refill && Number(left[1]) <= 2) resumeAt = Math.max(resumeAt, Date.now() + Number(refill[1]) * 1000);
}
}
export async function zs<T>(path: string, opts: ZsOptions = {}): Promise<T> {
if (typeof window !== "undefined") throw new Error("The ZimmerStack key must stay on your server");
const key = process.env.ZIMMERSTACK_CONNECT_KEY; // zsk_test_… while you build, zsk_live_… in production
if (!key) throw new Error("ZIMMERSTACK_CONNECT_KEY is not set");
const method = opts.method ?? "GET";
const url = new URL(BASE + path);
for (const [name, value] of Object.entries(opts.query ?? {})) if (value !== undefined) url.searchParams.set(name, String(value));
const headers: Record<string, string> = { authorization: "Bearer " + key, accept: "application/json" };
if (opts.propertyId) headers["x-zs-property"] = String(opts.propertyId);
if (opts.body !== undefined) headers["content-type"] = "application/json";
// One idempotency key per write, reused on every retry of it, so a write that timed out can never land twice.
if (method !== "GET") headers["x-idempotency-key"] = crypto.randomUUID();
const body = opts.body === undefined ? undefined : JSON.stringify(opts.body);
for (let attempt = 1; ; attempt++) {
if (resumeAt > Date.now()) await sleep(resumeAt - Date.now());
let res: Response;
try {
res = await fetch(url, { method, headers, body, signal: AbortSignal.timeout(30_000) });
} catch (err) {
if (attempt >= MAX_ATTEMPTS) throw err;
await sleep(1000 * 2 ** (attempt - 1)); // the network failed: 1 s, 2 s, 4 s
continue;
}
notePace(res);
const json = (await res.json().catch(() => null)) as Envelope | null;
if (res.ok) return json?.data as T;
const code = json?.data?.code ?? "HTTP_" + res.status;
const retryAfter = Number(res.headers.get("retry-after")) || undefined;
// Retry only what passes with time: a used-up budget (429), a fault on our side (5xx), and a duplicate
// of a request still running. Every other 4xx is a verdict on the request: fix it, never resend it.
const passesWithTime = res.status === 429 || res.status >= 500 || code === "IDEMPOTENCY_IN_FLIGHT";
// A long Retry-After (an hourly or daily budget, a pause) is not worth holding a request open for.
if (!passesWithTime || attempt >= MAX_ATTEMPTS || (retryAfter ?? 0) > 120) {
throw new ZimmerStackError(res.status, code, json?.message ?? res.statusText, json?.data?.details, retryAfter);
}
await sleep(((retryAfter ?? 2 ** (attempt - 1)) + Math.random()) * 1000); // 1 s, 2 s, 4 s, each with a little jitter
}
}
- zimmerstack.ts
- The client. It adds the key and opens the answer. It slows down when the RateLimit header says the limit is nearly used. It waits when it gets a 429. When ZimmerStack has a fault, it tries again with the same idempotency key. It never tries again after any other refusal.
- grid.ts
- The function loadGrid builds the rows from the catalog and fills them from the three reads. The function saveGrid joins single nights into ranges and sends one request for each kind. The function waitForBatch asks if the save arrived, once every 15 seconds at most.
- route.ts
- Two addresses on your own server, behind your own sign-in. One reads a group of nights. One saves the changes. It is written as a Next.js route handler, but the two functions fit any framework.
- RateGrid.tsx
- A table with prices you can change. It saves only the cells that changed, then reads the grid again. It is plain on purpose. Give it your own look, then add availability and restrictions the same way.
When a request is refused
A refused request carries a code in data.code. The code never changes. It also carries a sentence for the person. Show the sentence beside the thing that caused it. Keep what the person typed. Do not send a refused request again without a change. These are the refusals a grid meets:
| Code | What it means | What the screen does |
|---|---|---|
| 429 RATE_LIMITED | A limit is used up. The Retry-After header says for how many seconds. | Wait that long, then send the same request again. If the wait is more than a minute or two, keep the changes and tell the person when to try again. |
| 422 RATE_OUT_OF_BAND | A price is far from the rate plan's standing price. Nothing was saved. | Point at the price and ask the person to check it. |
| 400 HORIZON | A night is in the past, or more than 500 days ahead. | Do not let the person change those nights. |
| 400 UNKNOWN_RATE_PLAN | The id is not a rate plan of this hotel. The hotel removed the rate plan. | Read the catalog again and draw the rows again. |
| 400 TOO_MANY_CELLS | One request named too many cells. | Split it into smaller requests. The function chunk() in the sample does this. |
| 403 WRITES_SUSPENDED · 503 WRITES_FROZEN | ZimmerStack has stopped the updates of your software, or of everyone for a short time. | Keep the changes, show the message and stop sending. Reading still works. |
- Code429 RATE_LIMITEDWhat it meansA limit is used up. The Retry-After header says for how many seconds.What the screen doesWait that long, then send the same request again. If the wait is more than a minute or two, keep the changes and tell the person when to try again.
- Code422 RATE_OUT_OF_BANDWhat it meansA price is far from the rate plan's standing price. Nothing was saved.What the screen doesPoint at the price and ask the person to check it.
- Code400 HORIZONWhat it meansA night is in the past, or more than 500 days ahead.What the screen doesDo not let the person change those nights.
- Code400 UNKNOWN_RATE_PLANWhat it meansThe id is not a rate plan of this hotel. The hotel removed the rate plan.What the screen doesRead the catalog again and draw the rows again.
- Code400 TOO_MANY_CELLSWhat it meansOne request named too many cells.What the screen doesSplit it into smaller requests. The function chunk() in the sample does this.
- Code403 WRITES_SUSPENDED · 503 WRITES_FROZENWhat it meansZimmerStack has stopped the updates of your software, or of everyone for a short time.What the screen doesKeep the changes, show the message and stop sending. Reading still works.
Every code and its meaning is on Errors. Every limit is on Rate limits.
A price modifier on one OTA
There is one grid for one hotel. A rate plan has one price for a night. That price goes to every OTA the rate plan is mapped to. One thing can differ for each OTA: its . It is a few steps. Each step makes the price higher or lower, by a percentage or by a fixed amount. The steps are used on every price that is sent to that OTA.
GET /channels shows the steps of each OTA. PUT /channels/{channelId}/modifier sets them. After that, every date is sent to that OTA again. So nights that are already on sale get the new price within minutes.
- In your grid
- Keep the base price in the cell. Beside it, show what each OTA is sent: the price with that OTA's steps, in order.
- When it starts
- At once. Saving a channel modifier sends every date to that OTA again. Prices that are already on that OTA change within minutes.
- One OTA, some nights only
- When one OTA needs its own price on some nights only, give it a rate plan of its own. It is one more row in this grid.
Words on this page
- Rate grid
- A calendar screen. Room types and rate plans are the rows, and nights are the columns.
- 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.
- 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
- Stop sell
- A switch on a rate plan for one night. When it is on, that rate plan is not sold on that night.
- Closed to arrival
- A guest may stay on this night, but may not arrive (check in) on it.
- Closed to departure
- A guest may stay on this night, but may not leave (check out) on it.
- Minimum stay
- The smallest number of nights a guest must book. With a minimum stay of 2, a one-night booking is not possible.
- Maximum stay
- The largest number of nights a guest may book in one stay.
- 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
- Test key
- A key that starts with zsk_test_. It works only on a sandbox, so it can never change a real hotel.
- Sandbox
- Your test hotel. It works like a real hotel, but no OTA can see it and it costs nothing.
- 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.
- Cell
- One night of one room type or rate plan. An update for 3 nights of 1 room type is 3 cells.
- Rate limit
- How many requests you may send in a minute, an hour or a day.
- Time zone
- The clock a place uses. A hotel's dates are always dates on its own clock.
- Currency
- The money a hotel sells in, like INR for rupees or USD for dollars.
- Decimals
- How many digits a price has after the point. Rupees and euros have 2. Yen have 0.
- Standing price
- The normal price of a rate plan: its defaultRate. Every date starts with it. A rate plan the hotel made in ZimmerStack can use the base rate of its room type instead.
- Price band
- The lowest and the highest price ZimmerStack accepts for a rate plan, worked out from its standing price.
- Header
- A small piece of extra information sent with a request, like your key.
- Idempotency key
- A code you choose and send with an update. If the same update is sent twice by mistake, it is done only once.
- Batch
- One update you sent. It gets an id (batchId), so you can ask later if it reached the OTAs.
- Webhook
- A message ZimmerStack sends to your server when something happens, like a new booking.
- No-show
- A guest who booked but did not arrive.
- Package
- Ready-made code you install and use, so you write less yourself.
- Channel modifier
- A rule on one OTA. It raises or lowers every price that goes to that OTA, like 10% higher. You still send one price.
- Environment variable
- A named value kept in your server's settings, outside your code. It is a safe place for a key.
- Repository
- The folder that holds your project's code and its history. Many teams keep it on GitHub.
- Serverless
- A kind of hosting that runs your code only when a request comes, like Vercel or Netlify.
Routes, samples, limits and codes on this page come from the API's public contract, read live, Sat, 05 Dec 2026 01:08:27 UTC.