Skip to content

API action

Get room types and rate plans

Get the ids of the hotel's room types and rate plans. Every update needs one of these ids.

About this action

What it does
Gives every and every of the hotel, each with its id and its name.
When to use it
Once at the start. Then again after a room type or a rate plan is added, changed or deleted. Save the ids in your software.
Who can use it
A or a . A company key names the hotel with the . No scope is needed.
Address
GET https://api.zimmerstack.com/api/v1/connect-api/v1/catalog

Things to know

  1. There are two kinds of id. An availability update uses the id of a room type. A rates or restrictions update uses the id of a rate plan.
  2. Each rate plan belongs to one room type. Its roomTypeId says which one.
  3. An id does not change. It stays the same as long as the room type or the rate plan exists.

The request, in your language

Show the examples for

A sandbox's own key works for one hotel: choose "A hotel key" for it.

Put your key in place of zsk_test_YOUR_KEY, and your hotel's property id in place of YOUR_PROPERTY_ID.

Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.

terminal
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/catalog" -H "Authorization: Bearer zsk_test_YOUR_KEY" -H "X-ZS-Property: YOUR_PROPERTY_ID"

Put your key in place of zsk_test_YOUR_KEY. A hotel key works for one hotel, so the request does not name the hotel.

Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.

terminal
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/catalog" -H "Authorization: Bearer zsk_test_YOUR_KEY"

What comes back

The is 200. The answer has two lists: roomTypes and ratePlans.

response · status code 200
{
  "statuscode": 200,
  "message": "OK",
  "data": {
    "currency": "INR",
    "roomTypes": [
      {
        "id": 412,
        "ref": "rt-deluxe",
        "name": "Deluxe Garden Room",
        "maxAdults": 2,
        "maxChildren": 1,
        "roomKind": "room",
        "sync": "IN_SYNC"
      },
      {
        "id": 413,
        "ref": null,
        "name": "Family Suite",
        "maxAdults": 4,
        "maxChildren": 2,
        "roomKind": "room",
        "sync": "IN_SYNC"
      }
    ],
    "ratePlans": [
      {
        "id": 901,
        "ref": "rp-bb",
        "roomTypeId": 412,
        "name": "Bed and breakfast",
        "mealPlan": "CP",
        "occupancy": 2,
        "currency": "INR",
        "refundable": true,
        "sync": "IN_SYNC"
      },
      {
        "id": 902,
        "ref": null,
        "roomTypeId": 413,
        "name": "Room only, non-refundable",
        "mealPlan": "EP",
        "occupancy": 4,
        "currency": "INR",
        "refundable": false,
        "sync": "PENDING"
      },
      {
        "id": 904,
        "ref": "rp-ro",
        "roomTypeId": 412,
        "name": "Room only",
        "mealPlan": "EP",
        "occupancy": 2,
        "currency": "INR",
        "refundable": true,
        "sync": "IN_SYNC"
      }
    ]
  }
}
currency
The of the hotel. Send every rate in it.
roomTypes: id
The id of the room type. Send it as roomTypeId.
ref
Your own id for it, called a , if your software created it. If not, it is null.
name
The name the hotel gave it.
maxAdults, maxChildren
The most adults and the most children one room takes. Here null means: not set.
ratePlans: id
The id of the rate plan. Send it as ratePlanId.
roomTypeId
The room type this rate plan sells.
mealPlan
The : EP room only, CP breakfast, MAP breakfast and one meal, AP all meals.
occupancy
How many guests the price is for. This is called . Here null means: any number.
refundable
With false, the rate plan is : the guest gets no money back after cancelling.
sync
Does our have it? It holds a copy of every room type and rate plan, and the OTAs get their numbers from that copy. The value IN_SYNC means yes, and the copy is the same. The values PENDING and SENDING mean it is on its way. Read again in a moment. The value NOT_LINKED means it is saved in ZimmerStack only. Send it again. The value FAILED means sending stopped after several tries. The value DRIFTED means someone changed it at our connectivity partner, so the two copies differ. The value DISABLED means the hotel itself is not connected there. With FAILED or DRIFTED, a person at the hotel decides, on the screen Rooms & rates. A always answers IN_SYNC.

Then send your numbers

Use a roomTypeId in Update availability. Use a ratePlanId in Update rates and in Update restrictions.

Common mistakes

This request has no mistakes of its own. The ones below can happen on any request.

Other errors this request can give
401 API_KEY_INVALID
The key is not right. Copy it again, all of it, with no space before or after.
400 PROPERTY_REQUIRED
You hold a company key and did not name the hotel. Add the X-ZS-Property header.
404 PROPERTY_NOT_FOUND
The property id is not one of your hotels. Use an id from List your hotels.
403 IP_NOT_ALLOWED
The key only works from the addresses its owner allowed.
429 RATE_LIMITED
Too many requests in a short time. Wait the number of seconds in the Retry-After header, then send again.
401 API_KEY_REVOKED
The key was switched off, or it was replaced and its extra 24 hours are over. Ask the key's owner for the new key. Nothing else makes this key work.
403 SCOPE_MISSING
The key does not hold the scope this request needs. The answer names it in details.needed. For example channel-bookings:read or direct-bookings:read to read bookings, or direct-bookings:cancel to cancel a website booking. The key's owner gives the scope when editing the key.
409 ARI_NOT_AUTHORITATIVE
The hotel is not live yet: your software is not its source of truth, so nothing was saved. GET /readiness says what is missing, and POST /go-live makes the switch. To send rates before that, add the header X-ZS-Before-Go-Live: true. It is the same for a company key and for a hotel's own key: a hotel key with ari:read or ari:write can be made before its hotel is live.
409 CHANNEL_MANAGER_DISABLED
The hotel's channel manager is off, so nothing would be sent to an OTA. details.reason says why. not_on_channel_manager: the hotel was never put on it. With a company key, send its room types and rate plans (PUT /catalog/room-types, then PUT /catalog/rate-plans), or press Finish setup in the Channels app. Either puts it there. switched_off: the hotel's owner switched it off. Only the owner can switch it back on.
409 PROPERTY_UNAVAILABLE
The hotel is deleted or is a demo. Or a test key was used on a real hotel, or a live key on a sandbox. Check which key you send. If the key is right, contact the hotel's owner.

Try it now

No code and no install. This box sends a real request to your . It works with a only, so it can never change a real hotel.

Try it here: get room types and rate plans

It starts with zsk_test_. It is kept in this browser tab only. Never paste a live key into a web page.

Go deeper

  • Meal plans: Room only, breakfast, half board, full board.

Words on this page

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.
Company key
The key of a software company. One key works for all the hotels of that company.
Hotel key
A key that works for one hotel only. The hotel's owner makes it, or a partner makes it for a hotel it added.
X-ZS-Property
The header that tells ZimmerStack which hotel a request is for. Its value is the property id.
Header
A small piece of extra information sent with a request, like your key.
Scope
One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
Status code
A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
Currency
The money a hotel sells in, like INR for rupees or USD for dollars.
Ref
Your own name or id for a room type or a rate plan. You choose it, and ZimmerStack remembers it.
Meal plan
Which meals the price includes: none (EP), breakfast (CP), breakfast and one meal (MAP), or all meals (AP).
Occupancy
How many guests stay in one room.
Non-refundable
A price where the guest gets no money back after cancelling. Learn more
Connectivity partner
The company that carries ZimmerStack's numbers to each OTA and brings the bookings back. You never call it. Where an API name says channel manager, it means this last step. Learn more
Sandbox
Your test hotel. It works like a real hotel, but no OTA can see it and it costs nothing.
Test key
A key that starts with zsk_test_. It works only on a sandbox, so it can never change a real hotel.

New here? Start with the partner path or the one-hotel path.

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