postGuestsToRoom

Assigns guest(s) to a room in a reservation and adds these guests as additional guests.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data
string | null

Property ID

string

Reservation ID

integer

Room ID already assigned to Reservation

string

Guest ID(s) to be assigned to room. If more than one, send as comma-separated, i.e. 37,345,89

string | null

If sent, will remove guest ID(s) before adding guests sent in guestIDs parameter. If more than one, send as comma-separated, i.e. 37,345,89. Main Guest is never removed.

string | null

If sent, will remove guest ID(s) only from the specified Room ID(s). If more than one, send as comma-separated, i.e. 37,345,89. Incompatible with removeAll parameter.

boolean | null

Boolean. If true, removes all guests assigned to roomID before assigning the guests sent in guestIDs parameter. These guests are removed from the reservation, not only from the room. true, 1, yes and on count as true. false, 0, no, off, an empty value or omitting the parameter count as false. Main Guest is never removed.

string | null

Guest ID to promote as main guest of the booking room. MUST be present in guestIDs. When omitted, the room's main guest is left unchanged.

Response

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json