Save what the property knows about a guest (found by email or phone)
put/lodging/guests
Save what the property knows about a guest (found by email or phone): bed, floor, quiet, diet, accessibility, arrival time, notes. No identity documents are kept.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:write- Sdk
bookings.guest.save- Cli
bookings guest save
Request bodyapplication/json, required
- emailstring (email)At most 254 characters.
- phonestringPattern: ^+?[0-9 ()-]{6,20}$.
- namestringrequiredAt most 160 characters.
- nationalitystring or null
- languagestring or null
- preferencesobjectDefault: {}.
- bedstringAt most 60 characters.
- floorstringOne of: low, high, any.
- quietboolean
- dietlist of string
- accessibilitylist of string
- arrivalTimestringPattern: ^([01]\d|2[0-3]):[0-5]\d$.
- bedstring
- notesstringDefault: . At most 2000 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring