Documentation Index
Fetch the complete documentation index at: https://docs.recepai.ai/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
pmsGuestId.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer pms_live_xxx or Bearer pms_test_xxx |
Content-Type | Yes | application/json |
Idempotency-Key | Yes | Unique key for this request (1–255 chars). See Idempotency. |
Request Body
Only includepmsGuestId (required) and the fields that changed:
Field Reference
| Field | Type | Required | Description |
|---|---|---|---|
pmsGuestId | string | Yes | The guest to update (your PMS identifier) |
roomNumber | string | No | New room number. Triggers an automatic room move. |
firstName | string | No | Updated first name |
lastName | string | No | Updated last name |
phone | string | No | Updated phone (E.164 format) |
checkInDate | string | No | Updated check-in date (YYYY-MM-DD) |
checkOutDate | string | No | Updated checkout date (YYYY-MM-DD) |
language | string | No | Updated language preference (ISO 639-1) |
adults | integer | No | Updated number of adults |
children | integer | No | Updated number of children |
nationality | string | No | Updated nationality (ISO 3166-1 alpha-2) |
email | string | No | Updated email address |
Room changes are automatic. When you update
roomNumber, RecepAI handles the room move internally — deactivating the old room assignment and creating a new one. You don’t need to check out and re-check-in the guest.Response: Success (200)
The response includes achanges object showing exactly what was modified:
| Field | Description |
|---|---|
changes | Object showing each changed field with its previous (from) and new (to) value |
200 with an empty changes object.
Response: Guest Not Found (404)
Returned when no active guest with the givenpmsGuestId exists:
This error means the guest was either never checked in via the PMS API, or has already been checked out. If you receive this unexpectedly, use GET /guests to see which guests are currently active.