v1
latestOpenAPI 3.0.32026-07-2632131.4 MBGuests
Update guest
Update guest
put/guests-crud/{guestId}
Path parameters
guestIdstring required
Guest id
Request body
Example request
{
"address": {
"street": "1000 5th Ave",
"zipCode": "10028",
"state": "New York",
"city": "New York",
"country": "United States",
"countryCode": "US"
},
"otaLinks": [
{
"type": "airbnb",
"url": "https://www.airbnb.com"
}
]
}Response
The guest has been successfully updated.
Example response
{
"_id": "5e17287629e111001f7d3f4d",
"firstName": "Rick",
"lastName": "Sanchez",
"fullName": "Rick Sanchez",
"hometown": "New York",
"createdAt": "2022-08-12T16:00:00.000+03:00",
"address": {
"street": "1000 5th Ave",
"city": "New York",
"country": "United States",
"countryCode": "US",
"zipCode": "10028",
"state": "New York"
},
"picture": {
"thumbnail": "//guestybookings.s3.amazonaws.com/guests/thumbnail_e2cb8a96-45a9-45cd-b28e-57e1ca1fc988.jpg",
"large": "//guestybookings.s3.amazonaws.com/guests/large_e2cb8a96-45a9-45cd-b28e-57e1ca1fc988.jpg",
"regular": "//guestybookings.s3.amazonaws.com/guests/regular_e2cb8a96-45a9-45cd-b28e-57e1ca1fc988.jpg"
},
"email": "email@email.com",
"emails": [
"email@email.com",
"email2@email.com"
],
"phone": "972234567454",
"phones": [
"972234567454",
"972234567890"
],
"notes": "This guest is rich",
"tags": [
"blocklisted",
"VIP"
],
"goodToKnowNotes": "This guest is alleric to peanuts",
"birthday": "2017-08-12T16:00:00.000+03:00",
"gender": "2017-08-12T16:00:00.000+03:00",
"maritalStatus": "single",
"dietaryPreferences": [
"vegan",
"veggies"
],
"interests": [
"sports"
],
"pronouns": "he/him/his",
"otaLinks": [
{
"type": "airbnb",
"url": "https://www.airbnb.com"
}
],
"kids": 3,
"passportNumber": "23424353",
"identityNumber": "324325121",
"nationality": "il",
"contactType": "guest",
"airbnb2": {
"index": "index",
"id": 4246064595217,
"url": "https://www.airbnb.com",
"firstName": "Rick"
},
"rentalsUnited": {
"firstName": "Rick",
"lastName": "Sanchez",
"fullName": "Rick Sanchez",
"failedPaymentMethod": "failed payment method"
},
"bookingCom": {
"firstName": "Rick",
"lastName": "Sanchez",
"fullName": "Rick Sanchez",
"url": "https://www.booking.com"
},
"homeAway": {
"title": "title",
"firstName": "Rick",
"lastName": "Sanchez",
"fullName": "Rick Sanchez",
"url": "https://www.homeaway.com"
},
"tripAdvisor": {
"title": "title",
"firstName": "Rick",
"lastName": "Sanchez",
"fullName": "Rick Sanchez",
"proxyEmail": "proxyemail@email.com",
"url": "https://www.tripadvisor.com"
},
"policy": {
"marketing": {
"isAccepted": false,
"dateOfAcceptance": null
},
"privacyObject": {
"isAccepted": false,
"dateOfAcceptance": null,
"versionNumber": "ffewfewgw"
}
}
}