Skip to content

API actions

All API actions

An API action is one you can send. Each action has its own short page. Every page has the same parts: what the action does, what you send, what comes back, the common mistakes, and a box to try it.

New here? Do not start on this page. Start with the partner path or the one-hotel path. They lead you to the right action at the right time.

Start

Check your key and read the hotel.

Availability, rates and restrictions (ARI)

Send your numbers to the OTAs, and check that they arrived.

  • Update availability (how many rooms are free)

    Tell every OTA how many rooms are free on each night.

  • Update rates (the price of each night)

    Tell every OTA the price of each night.

  • Update restrictions (stay rules)

    Set a minimum stay, or stop selling a rate plan on a night.

  • Check an update (batch)

    Ask if one update has reached the OTAs.

  • Get sync status (is anything still waiting?)

    See if anything of a hotel is still on its way to the OTAs.

  • Get availability (rooms free on each night)

    Read the availability ZimmerStack holds now.

  • Get rates (the price of each night)

    Read the rates ZimmerStack holds now.

  • Get restrictions (stay rules)

    Read the restrictions ZimmerStack holds now.

  • Close a room type (stop selling it on every OTA)

    Stop selling one room type on some nights, everywhere, with one request.

  • Reopen a room type (sell it again)

    Undo a close, and sell the room type again.

  • Explain one night (why is it not selling?)

    What you sent, what ZimmerStack holds, and what the OTAs' side holds, for one night.

  • Send rates again (resend)

    Send the hotel's rates to the OTAs one more time.

Room types and rate plans

Create and change what the hotel sells.

OTAs (channels)

See the connected OTAs, set a price for one, send one everything again, connect a new one, change its mapping or disconnect it.

OTA bookings

Read the bookings the OTAs sent.

  • List OTA bookings (bookings from Booking.com, MakeMyTrip and others)

    Read the bookings the OTAs sent, oldest change first.

  • Get an OTA booking

    Read one OTA booking by its id.

  • List events (everything that happened, in order)

    Every booking and OTA problem of a hotel, in order, so you can catch up.

Website bookings

Read and cancel bookings made on the hotel's own website.

Your own bookings

Put a booking from your own booking engine into ZimmerStack.

Webhook endpoints

Tell ZimmerStack where to send messages, by API.

Hotels

Add a hotel, make it live, and manage its keys.

Bills and support

Read your invoices and write to support, by API.

Sandbox (testing)

Make test bookings and test failures on your sandbox.

For your own tools: the whole API in one file

Every action on this page is also written in one file. You do not need it to build. It is for tools: a tool can make client code from it, or check your requests against it.

https://api.zimmerstack.com/api/v1/public/connect-api/contract

  • The file is OpenAPI 3.1. It holds every request, every field and every error code, with examples.
  • It is made from the same rules the API checks your requests with. So it is never out of date.
  • The API has one version, v1. A new field that you may leave out does not change it, and nothing is removed without notice. See Compatibility.
read the file: the list of all addresses
curl -s https://api.zimmerstack.com/api/v1/public/connect-api/contract | jq '.paths | keys'

Words on this page

Request
One message your software sends to the API.
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.
OpenAPI
A standard file that describes an API so that tools can read it.