Skip to content

API action

Check if a hotel is ready(readiness)

Ask if a hotel can go live. The answer has four checks, each with what to do.

About this action

What it does
Reads a report about one hotel. It says if the hotel is ready to , and what is still missing.
When to use it
Before Go live, for a hotel whose owner let you in with your . Ask as often as you like. A hotel you added yourself is live from its first day.
Who can use it
A only. A company key names the hotel with the . No scope is needed.
Address
GET https://api.zimmerstack.com/api/v1/connect-api/v1/readiness
Before this
You need the hotel's property id. Get it with List your hotels.

Things to know

  1. The last check can pass in two ways. One: for the next 365 nights, ZimmerStack's numbers already match the numbers at . Two: your software has first sent a price for every and every one of those nights.
  2. To send prices before go-live, add one header. Send Update rates with the header X-ZS-Before-Go-Live: true. The prices are saved and wait for go-live. Without the header the answer is 409 ARI_NOT_AUTHORITATIVE.
  3. Availability is not a check. Before go-live, a lower number goes to the at once, and a higher number is refused. So send your availability again right after go-live.
  4. A sandbox is always live. With a test key the answer says live: true, and checks is an empty list.

The request, in your language

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/readiness" -H "Authorization: Bearer zsk_test_YOUR_KEY" -H "X-ZS-Property: YOUR_PROPERTY_ID"

What comes back

The is 200. The answer says if the hotel is live, if it is ready, and how each check ended.

response · status code 200
{
  "statuscode": 200,
  "message": "OK",
  "data": {
    "propertyId": 61,
    "live": false,
    "ready": false,
    "nights": {
      "from": "2026-11-23",
      "to": "2027-11-22",
      "count": 365
    },
    "passedBy": null,
    "checks": [
      {
        "id": "channel_manager",
        "passed": true,
        "summary": "The hotel is on the channel manager.",
        "action": null
      },
      {
        "id": "catalog_linked",
        "passed": true,
        "summary": "Every room type and rate plan is on the channel manager (2 room types, 3 rate plans).",
        "action": null
      },
      {
        "id": "prices_hold",
        "passed": true,
        "summary": "A price your software sends stays until your software changes it.",
        "action": null
      },
      {
        "id": "nothing_stale",
        "passed": false,
        "summary": "Going live now would send 1,095 values nobody set, and 0 values differ from what the channel manager holds.",
        "action": "Send the next 365 nights first: a price for every rate plan and night (PUT /rates), each request carrying the header X-ZS-Before-Go-Live: true. Then read this report again. Still missing: 1,095 rate-plan nights. Room counts: until the hotel is live a count that lowers what is on sale is sent at once and a higher one is refused, so send your room counts again right after going live (730 room-type nights not written by your software yet).",
        "details": {
          "recordMatches": {
            "passed": false,
            "waiting": 1095,
            "waitingNobodySet": 1095,
            "differs": 0,
            "cellsRead": 270,
            "lastReadAt": "2026-11-22T21:04:11.000Z"
          },
          "fullYearSent": {
            "passed": false,
            "ratePlanNightsMissing": 1095,
            "roomTypeNightsMissing": 730,
            "ratePlans": [
              {
                "ratePlanId": 901,
                "nightsSet": 0,
                "nightsMissing": 365
              },
              {
                "ratePlanId": 902,
                "nightsSet": 0,
                "nightsMissing": 365
              },
              {
                "ratePlanId": 903,
                "nightsSet": 0,
                "nightsMissing": 365
              }
            ],
            "roomTypes": [
              {
                "roomTypeId": 412,
                "nightsSet": 0,
                "nightsMissing": 365
              },
              {
                "roomTypeId": 413,
                "nightsSet": 0,
                "nightsMissing": 365
              }
            ]
          }
        }
      }
    ]
  }
}
live
The value true means: your software is already this hotel's . There is nothing to do.
ready
The value true means: every check passed, and Go live will work. Also true when the hotel is already live.
nights
The nights the checks looked at, on the hotel's own calendar: the first night, the last night and how many.
checks
The list of checks. Each one has an id, passed (true or false), a summary in one sentence, and an action. The action says what to do when the check did not pass.
checks: channel_manager
Is the hotel set up at our connectivity partner? If not, send its room types and rate plans.
checks: catalog_linked
Is every and every rate plan set up there too?
checks: prices_hold
Does a price you send stay until you change it? It does not when ZimmerStack's own sets this hotel's prices. The hotel's owner can switch that off.
checks: nothing_stale
Would go-live send a number that nobody chose? This check can pass in two ways: see the first rule above.
passedBy
How the last check passed: record_matches or full_year_sent. Empty (null) when it did not pass, and when the hotel is already live.

Then fix what did not pass, and go live

Do what the action of each failed check says. Then ask again. When ready is true, send Go live.

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: check if a hotel is ready

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

Go deeper

  • Go live: The checks before a real hotel sells through your software.

Words on this page

Go live
The moment a real hotel starts to sell through your software.
Readiness
The checks a hotel must pass before it can go live.
Vendor code
A short code of your company. A hotel that already uses ZimmerStack enters it to let your software in.
Company key
The key of a software company. One key works for all the hotels of that company.
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.
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
Rate plan
One way to sell a room type, with its own price. For example Room only, or With breakfast.
Availability
How many rooms of one room type are free to sell on one night. Learn more
OTA
Online travel agency: a website that sells hotel rooms, like Booking.com, MakeMyTrip or Agoda. Learn more
Status code
A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
Source of truth
The one system whose numbers are the right ones. After go-live, that is your software.
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.
Pricing engine
Software that changes a hotel's prices by itself, when the hotel has switched it on.
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.
Scope
One permission of a key. For example ari:write lets the key update availability, rates and restrictions.

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 02:10:21 UTC.