Push prices or restrictions

RMS

post/api/integrations/{pcode}/rms/pushx-api-key

Prices or restrictions for one rate, as tranches of dates. Dates go from yesterday to 700 days ahead, and prices and restrictions travel in separate pushes. The property must have its rates on Unified; otherwise the push is refused with 409 rmsPropertyNotOnUnified. **The queue is not the legacy one.** If you push to the legacy API today, these are the differences that change what you see: - **Applied within the minute, not hours later.** The legacy kept a push in a queue a cron drained hours after; here the push itself wakes the writer, and a watchdog picks up anything left within 60 seconds. The answer still comes as soon as the push is queued, not once it is written. - **The newest value of a day wins, not every push in turn.** Each push is split into its days and a day keeps only the last value sent for it. Resending a whole calendar costs nothing, and an older value never reappears after a newer one. - **Inside a push, the later tranche wins.** Where two tranches of the same push share days, the one further down the array wins. The legacy sorted them by start date first, so an earlier element starting later could win there. - **A late retry can be refused.** Across pushes the last to arrive wins; send sentAt and a push built before the last accepted one for the same rate is refused with 409 rmsPushStale instead of overwriting it. - **Full or down means 429, and nothing was stored.** Resend after the Retry-After seconds. The legacy took every push and fell behind instead. - **What is not applied is said.** Closures (stop_sell) and maximum stays (max_stay) are accepted and not applied for now, as on the legacy, but the answer lists them in ignored instead of a bare success. - **A write that fails is retried, then reported.** A day that cannot be written is retried a few times and then set aside and reported to us, rather than lost silently.

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

Body

Arm production

Writing methods are locked until you arm them. This is live hotel data.

POST is locked on production. Arm it above if you mean it.

posthttps://uni-api.hotelgest.com/api/integrations/123456/rms/push

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

pcode
number

Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.

Request body

rateId
number | string

Id of the rate being pushed: the id of GET /integrations/{pcode}/rms/rates

roomId
number | string

Room type a restriction lands on, when it is not the rate’s own. Prices ignore it.

sentAt
string

When you built this push (ISO 8601). A push sent before the last one accepted for the same rate is refused with 409 rmsPushStale instead of overwriting newer values. Leave it out and the last push to arrive wins.

RmsPushItemDto[]

The tranches. Either all prices (Value) or all restrictions (stop_sell, min_stay_through, min_stay, max_stay): never both in one push.

Example
1{
2 "rateId": 48122,
3 "roomId": 1551809177,
4 "sentAt": "2026-10-15T08:30:00Z",
5 "rate": [
6 {
7 "StartUtc": "2026-08-25",
8 "EndUtc": "2026-08-31",
9 "Value": "129.90",
10 "stop_sell": 1,
11 "min_stay": 2,
12 "min_stay_through": 2,
13 "max_stay": 14
14 }
15 ]
16}

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

requestId
string

Id of the push, to quote it to support

ignored
enum[]

Fields you sent that are accepted and NOT applied: closures and maximum stays are switched off on the platform for now. Empty when everything you sent is applied.

One of:stop_sellmax_stay

Example response
1{
2 "requestId": "9b2f6c1e-1d1a-4f6a-9a55-0e3c3c2f4a71",
3 "ignored": []
4}

What is a pcode?

The property code. Every endpoint is scoped to one property, and your API key only works for the property it was issued for.

Rate limits

100 requests per minute per source IP, 120 per API key and 300 per property, each counted across every endpoint together — not per endpoint. Over any of them you get a 429 with the seconds to wait in Retry-After-<limit> (apikey-ip, apikey or apikey-pcode): stop and wait it out. Repeat offences on a key or a property are blocked for longer each time, up to 7 days.