Get booking engine packs
Booking engine
The packs the property sells on its booking engine: an offer tied to room types, a date window and a minimum stay, sometimes with products included. It is the list Hotelgest's own booking engine offers; packs whose last day is before yesterday, and packs the hotel hides from its engine, are left out. name and text carry only the languages the hotel wrote, and are an empty object when it wrote none.
Console
Runs against the API from your browser, with the same request your server will send.
Environment
Production
https://uni-api.hotelgest.com
Calls hit live data with your own API key. A POST, PUT, PATCH or DELETE here changes a real property.
Credentials
The API key, sent on every request. A property admin creates it in the PMS under Settings → API keys; a partner receives one per property when the property activates its integration. It works only for the property it was issued for, and only on the endpoints granted to it.
This endpoint needs a credential. Without it you will get a 401.
Stored in this browser only. Never sent anywhere but the API host above.
Path parameters
Send the request to see the real response here.
Nothing is mocked. What comes back is what the API returned.
Requests go straight from your browser to the API host above — nothing is proxied through this site.
Path parameters
Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.
Responses
Ok. If your API key answers encrypted — every key issued now does, and every partner credential — this body arrives as the encryption envelope ({ crypto, protected, wrappedKey, iv, payload, tag }, a compact JWE), and the schema below is what its payload decrypts to. See https://public-api.hotelgest.com/public/guides/encryption
Pack id
The room type, occupancy, board and policy combinations the pack is sold on
Pack name per language, keyed by language code. Only the languages the hotel wrote; an empty object when it wrote none
Pack description per language, keyed by language code. Only the languages the hotel wrote; an empty object when it wrote none
Board of the pack (that of its last room row)
Kind of pack, as the legacy stores it
Weekdays the pack is restricted to, as the legacy stores them. Null or empty when any day
How weekday applies, as the legacy stores it: 0 when it does not restrict
Whether the pack is kept off the booking engine, as the legacy stores it: always 0 or lower here, because packs hidden from it are left out
External code the hotel gave the pack, if any
1 when promo codes cannot be combined with the pack
First day the pack can be booked
Last day the pack can be booked
Price of the pack
How value applies: 0 replaces the price with value, -1 takes value % off, -2 takes value off, 1 adds value %, 2 adds value
Amount or percentage dtype applies
Minimum nights
Maximum nights (0 means no limit)
Products included in the pack, when it includes any
What is a pcode?
Rate limits