Check-in / Check-out booking
Bookings
Move one booking to a new check-in state. Send the state you want in nextStatus: waiting-check-in (the guest has not arrived), checked-in (the guest is in the room) or checked-out (the stay is over). cancelled is a state a booking can show, not one you can move it to here: it answers 400 — cancel a booking by changing its status. It affects this booking only — in a group, each room is checked in on its own. Not every move is allowed: the states follow an order, and one that does not follow it is rejected with 400. Sending waiting-check-in on a booking that is checked-in is how you undo a check-in made by mistake. Checking out can be refused with 409 pendingPayment while the booking still has money pending, but only if the property turned that check on — so the same request can succeed for one property and fail for another. A partner connection is held to that one only: the invoicing rules of the property are work for reception, so the booking checks out without its invoice and reception issues it afterwards. With the own key of the property, checking out can also be refused with 409 pendingInvoicePayment or pendingInvoice while invoices are pending, again only if the property turned those checks on. Checking in answers 409 pendingCheckout while an earlier booking of the same room is still checked in. With an API key the change is credited to the integration, and the key must have this endpoint granted explicitly: keys issued before endpoint scopes existed answer 403 here. Answers 204 with no body; read the booking back with the detail endpoint if you need its new state. The submission to the authorities runs asynchronously after the check-in, so a guest rejected by them does not fail this call: the per-guest result lands in the booking history.
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.
PUT is locked on production. Arm it above if you mean it.
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.
Booking ID. Obtained from the search endpoints (GET /api/v2/bookings/{pcode}/search) or returned by the booking creation endpoint.
Request body
Target check-in state for the booking. Allowed values follow the check-in state machine.
1{2 "nextStatus": "checked-in"3}
Responses
The booking moved to the requested state. No body
—
What is a pcode?
Rate limits