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.
List your hotels (properties)
Every hotel your key can work for.
Check your key (and read one hotel)
Which hotel a key is for, and what the key may do.
The ids every other request needs.
Get your limits (how many requests you may send)
Every limit of your key, and how much is left.
List your recent requests (your own request log)
The requests your key sent in the last 7 days.
Check ZimmerStack's status (is something down?)
Is there a problem on our side that touches your hotels?
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.
Send your room types. New ones are created, known ones are changed.
Send your rate plans. New ones are created, known ones are changed.
Remove a room type and its rate plans.
Remove one rate plan.
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.
List the connected OTAs (channels)
Which OTAs a hotel sells on, and any open problem.
Set the price modifier of one OTA (channel modifier)
You send one price for each night. A modifier raises or lowers it for one OTA.
Send everything to one OTA again (full sync)
When one OTA shows a wrong number, our connectivity partner sends it everything again. One an hour.
Send everything to every OTA again (full sync of the hotel)
The same full sync on every OTA of the hotel, one after another.
Make a connect link (the last step to connect an OTA, after the OTA's own step)Company key only
The last step of connecting an OTA. Except on Airbnb, the OTA must accept our connectivity partner first.
List your connect linksCompany key only
The connect links you made, newest first.
Get a connect linkCompany key only
See if the hotel has used one connect link.
Cancel a connect link (revoke)Company key only
Make a connect link stop working.
Get the mapping of one OTA (which rate plan each room and rate of the OTA gets)Company key only
The OTA's rooms and rates beside the hotel's rate plans, and what is matched now.
Change the mapping of one OTA (re-map)Company key only
Save the whole matching of one connected OTA again.
Disconnect one OTA from a hotelCompany key only
Remove one OTA connection of a hotel. The hotel's listing at the OTA stays open.
Open the channel console for a hotel (a screen for the hotel's OTA connections)Company key only
Get the address of the channel console for one hotel. It works once, for 15 minutes.
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.
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.
List website bookings (bookings from the hotel's own website)
Read the bookings guests made on the hotel's own website.
Read one website booking by its id.
Cancel a website booking (and refund it)
Cancel one website booking and choose the refund.
Your own bookings
Put a booking from your own booking engine into ZimmerStack.
Create a bookingHotel key only
Put a booking from your own website into ZimmerStack.
List your bookingsHotel key only
The bookings your key created, newest first.
Get your bookingHotel key only
Read one booking your key created.
Cancel your bookingHotel key only
Cancel a booking your key created. Its rooms go back on sale.
Webhook endpoints
Tell ZimmerStack where to send messages, by API.
Add a webhook endpoint (your server's address)Company key only
Tell ZimmerStack where to send messages.
List your webhook endpointsCompany key only
The addresses you added.
Get a webhook endpointCompany key only
One address, and whether messages reach it.
Change a webhook endpointCompany key only
Change the address or the kinds of message it gets.
Delete a webhook endpointCompany key only
Remove an address. No message goes to it again.
Pause a webhook endpointCompany key only
Stop the messages for now. They are kept, not lost.
Resume a webhook endpointCompany key only
Start the messages again, oldest first.
Change the signing secret (rotate)Company key only
Get a new secret for checking that a message is from ZimmerStack.
Send a test webhookCompany key only
Send one test message to your server now.
Send missed webhooks again (recover)Company key only
Send again every message since a time you choose.
List webhook deliveries (the messages that were sent)Company key only
Each message sent to an address, and whether your server answered.
Get a webhook deliveryCompany key only
One message exactly as it was sent, with every try.
Send one webhook again (redeliver)Company key only
Send one old message one more time.
Hotels
Add a hotel, make it live, and manage its keys.
Add a hotelCompany key only
Add one hotel to your company.
Change a hotel (its name and address)Company key only
Change the name or the address of a hotel you added.
Remove a hotelCompany key only
Remove a hotel you added.
Check if a hotel is ready (readiness)Company key only
The checks a hotel must pass before it goes live.
Go liveCompany key only
Make your software the source of a hotel's rates and availability.
List hotel keysCompany key only
The keys you made for one hotel.
Make a hotel keyCompany key only
Make a key that works for one hotel only.
Replace a hotel key (rotate)Company key only
Make a new key in place of an old one.
Switch off a hotel key (revoke)Company key only
Make a key stop working at once.
Bills and support
Read your invoices and write to support, by API.
Get what you owe (billing)Company key only
What is unpaid, your hotel quota and money paid ahead.
List your invoicesCompany key only
Each invoice, before and after tax.
Get your next invoiceCompany key only
What your next invoice will be made of, hotel by hotel.
Open a support ticketCompany key only
Write to support from your own software.
List your ticketsCompany key only
The support tickets you opened.
Get a ticketCompany key only
One ticket with every message in it.
Reply on a ticketCompany key only
Add your message to a ticket.
Close a ticketCompany key only
Close a ticket you opened.
Sandbox (testing)
Make test bookings and test failures on your sandbox.
Make a test booking (pretend an OTA sent one)
Make a pretend OTA booking on your sandbox and receive the real webhook.
The test bookings on your sandbox.
Change a test booking (as the OTA would)
Change a test booking's dates and receive the real webhook.
Cancel a test booking (as the OTA would)
Cancel a test booking and receive the real webhook.
Mark a test booking as a no-show (the guest did not arrive)
Mark a test website booking as a no-show, or undo it.
Make a test OTA problem (sync alert)
Pretend an OTA has a problem, or that it ended.
Make the next update fail (on purpose, to test your software)
Tell the sandbox to refuse or slow down your next update.
The failure that is set on your sandbox now.
Make the sandbox accept updates normally again.
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.
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.