Cloudbeds icon

Cloudbeds

Consume Cloudbeds API - Sistema de gestión hotelera completo

Guest → Update

AI-generated

Summary

Update a Cloudbeds guest record by specifying the guest identifier and the fields to modify.

Inputs

  • guestId (required) — The ID of the guest to update.
  • authentication — Authentication method to use. Defaults to Access Token. Options: Access Token (accessToken) or OAuth2 (oAuth2).
  • updateFields — Collection of fields to update on the guest record. Each field is optional; only provided fields are sent to the API.

Output shape

The operation returns the updated guest record as confirmed by the Cloudbeds API, typically including all guest fields. Exact return shape is determined by the API response.

The operation does not modify other guests or create new records; it targets exactly one guest identified by guestId. If updateFields is empty, the API may return the existing record unchanged or reject the request based on Cloudbeds' validation.

Examples

Example 1: Update a guest's first name, email, and VIP status.

Set guestId to the target guest's ID. In updateFields, set firstName, email, and vip to true. Authentication can remain on the default Access Token.

Links

Discussion