Cloudbeds · Schema

Cloudbeds Guest

JSON Schema for a Cloudbeds guest as returned by the Cloudbeds REST API v1.3 guests endpoints.

HospitalityHotelsPMSProperty ManagementChannel ManagerBooking EnginePayments

Properties

Name Type Description
guestID string Cloudbeds-assigned identifier for the guest.
propertyID string Identifier for the Cloudbeds property associated with the guest record.
firstName string
lastName string
email string
phone string
country string ISO 3166-1 alpha-2 country code.
documentType string Identification document type (e.g. passport, drivers_license).
documentNumber string
address string
city string
stateOrProvince string
postalCode string
dateOfBirth string
language string Preferred language (ISO 639-1).
marketingOptIn boolean Whether the guest has opted in to marketing communications.
notes string
dateCreated string
dateModified string
View JSON Schema on GitHub

JSON Schema

cloudbeds-guest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/cloudbeds/cloudbeds-guest-schema.json",
  "title": "Cloudbeds Guest",
  "description": "JSON Schema for a Cloudbeds guest as returned by the Cloudbeds REST API v1.3 guests endpoints.",
  "type": "object",
  "required": ["guestID"],
  "properties": {
    "guestID": {
      "type": "string",
      "description": "Cloudbeds-assigned identifier for the guest."
    },
    "propertyID": {
      "type": "string",
      "description": "Identifier for the Cloudbeds property associated with the guest record."
    },
    "firstName": { "type": "string" },
    "lastName": { "type": "string" },
    "email": { "type": "string", "format": "email" },
    "phone": { "type": "string" },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code."
    },
    "documentType": {
      "type": "string",
      "description": "Identification document type (e.g. passport, drivers_license)."
    },
    "documentNumber": { "type": "string" },
    "address": { "type": "string" },
    "city": { "type": "string" },
    "stateOrProvince": { "type": "string" },
    "postalCode": { "type": "string" },
    "dateOfBirth": {
      "type": "string",
      "format": "date"
    },
    "language": {
      "type": "string",
      "description": "Preferred language (ISO 639-1)."
    },
    "marketingOptIn": {
      "type": "boolean",
      "description": "Whether the guest has opted in to marketing communications."
    },
    "notes": { "type": "string" },
    "dateCreated": { "type": "string", "format": "date-time" },
    "dateModified": { "type": "string", "format": "date-time" }
  }
}