{"_id":"5b00fcf467a5af000331753b","project":"56e3719a591f620e00bf5095","version":{"_id":"56e3719a591f620e00bf5098","hasReference":true,"hasDoc":true,"__v":6,"project":"56e3719a591f620e00bf5095","createdAt":"2016-03-12T01:32:10.751Z","releaseDate":"2016-03-12T01:32:10.751Z","categories":["56e3719b591f620e00bf5099","56e7b24ad365390e007baeab","59c952f57f6bea002e57da0a","59c954f07f6bea002e57da14","59cb3f6b487a0e00261deb5c","59cd714c360c8600242c4984"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"category":{"_id":"56e3719b591f620e00bf5099","pages":["56e3719c591f620e00bf509b","56e74226555c030e00a52a90","56e7447c7d693632001d5cb4","56e752bd56d59a0e00d5660e","56e755b98aa2c00e00494cd9","56e7584d911296190096dd80","56e759339b25270e001d11a0","56e7593e1b41040e009d10cf","56e7594e911296190096dd88","56e7595e8aa2c00e00494ce3","56e75d7f5669091700c5b2b4","56e77e22911296190096de13","56e77f259b25270e001d1232","56e7b2c737afb90e00e0eb9d","56ec4daf611730190000f23f","56ec4fde26db830e00afa083","56ec8f7204e8940e00966567","56f184cc9791b22d0077b9d9","56f18a2c3af4942b00bb3c47"],"project":"56e3719a591f620e00bf5095","__v":19,"version":"56e3719a591f620e00bf5098","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-12T01:32:11.359Z","from_sync":false,"order":0,"slug":"documentation","title":"Documentation"},"user":"5ad0d1d6d24f9c0003476a4c","githubsync":"","__v":8,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-05-20T04:43:32.571Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"put","results":{"codes":[{"name":"","code":"{\n    \"lastLogin\": \"2018-05-20 10:36:19.0\",\n    \"lastName\": \"GuestLast\",\n    \"zipCode\": \"08837\",\n    \"linkedinURL\": \"www.linkedin.com/guestprofile\",\n    \"city\": \"California\",\n    \"airbnbID\": \"airbnbID\",\n    \"mobileNumber\": \"0987654321\",\n    \"pictureURL\": \"www.guestwebsite.com/image.jpg\",\n    \"adress\": \"Menlo Park\",\n    \"birthDate\": \"4 Dec 1994\",\n    \"favoriteAirline\": \"Alaska Airline\",\n    \"firstName\": \"GuestFirstName\",\n    \"registrationToken\": \"NdbgHLH4Fa\",\n    \"skypeID\": \"skyoe_guest\",\n    \"facebookURL\": \"www.facebook.com/guestprofile\",\n    \"createdDate\": \"2018-05-20 10:33:41.0\",\n    \"phoneNumber\": \"123456789\",\n    \"agencyUid\": \"47d5b235-c98a-42c2-af89-b3bab325a7ff\",\n    \"modifiedDate\": \"Sun May 20 10:38:37 IST 2018\",\n    \"profileNotes\": \"These are the notes of the Guest Account\",\n    \"id\": 57473,\n    \"state\": \"California\",\n    \"email\": \"guestemailid:::at:::guestcompany.com\",\n  \t\"uid\": \"47d5b235-c98a-42c2-af89-b3bab325a7ff\"\n}","language":"json","status":200},{"code":"Orbirental API - Bad request.","language":"text","status":400},{"code":"Orbirental API - Authorization Header missing.\n\nOrbirental API - Credentials missing.\n\nOrbirental API - Guest with provided email not found.\n\nOrbirental API - Email Address Cannot be changed.\n\nOrbirental API - Agency with the given agencyUid not found\n\nOrbirental API - Incorrectly defined password.\n\nOrbirental API - Incorrect AffiliateID.\n\nOrbirental API - Invalid Password.","language":"text","status":409}]},"settings":"5b00f60a5927b700035262d3","auth":"required","params":[{"_id":"5b00f98067a5af0003317524","ref":"","in":"body","required":true,"desc":"The unique Agency Uid","default":"","type":"string","name":"agencyUid"},{"_id":"5b00f98067a5af0003317522","ref":"","in":"body","required":false,"desc":"First Name of the Guest","default":"","type":"string","name":"firstName"},{"_id":"5b00f98067a5af0003317521","ref":"","in":"body","required":false,"desc":"Password of the Guest account","default":"","type":"string","name":"password"},{"_id":"5b00f98067a5af0003317520","ref":"","in":"body","required":false,"desc":"Affiliate ID","default":"","type":"string","name":"affiliateID"},{"_id":"5b00f98067a5af000331751f","ref":"","in":"body","required":false,"desc":"Last Name of the Guest","default":"","type":"string","name":"lastName"},{"_id":"5b00f98067a5af000331751e","ref":"","in":"body","required":false,"desc":"Phone Number of the Guest","default":"","type":"string","name":"phoneNumber"},{"_id":"5b00f98067a5af000331751d","ref":"","in":"body","required":false,"desc":"Mobile Number of the Guest","default":"","type":"string","name":"mobileNumber"},{"_id":"5b00f98067a5af000331751c","ref":"","in":"body","required":false,"desc":"Address of the Guest","default":"","type":"string","name":"address"},{"_id":"5b00f98067a5af000331751b","ref":"","in":"body","required":false,"desc":"City corresponding to the address","default":"","type":"string","name":"city"},{"_id":"5b00f98067a5af000331751a","ref":"","in":"body","required":false,"desc":"ZipCode of the city","default":"","type":"string","name":"zipCode"},{"_id":"5b00f98067a5af0003317519","ref":"","in":"body","required":false,"desc":"State in which the city is present","default":"","type":"string","name":"state"},{"_id":"5b00f98067a5af0003317518","ref":"","in":"body","required":false,"desc":"Country of the address","default":"","type":"string","name":"countryCode"},{"_id":"5b00f98067a5af0003317517","ref":"","in":"body","required":false,"desc":"Guest's picture URL","default":"","type":"string","name":"pictureURL"},{"_id":"5b00f98067a5af0003317516","ref":"","in":"body","required":false,"desc":"Facebook profile URL","default":"","type":"string","name":"facebookURL"},{"_id":"5b00f98067a5af0003317515","ref":"","in":"body","required":false,"desc":"Twitter Handle of Guest","default":"","type":"string","name":"twitterHandle"},{"_id":"5b00f98067a5af0003317514","ref":"","in":"body","required":false,"desc":"LinkedIn profile Link","default":"","type":"string","name":"linkedInURL"},{"_id":"5b00f98067a5af0003317513","ref":"","in":"body","required":false,"desc":"AirBnB ID","default":"","type":"string","name":"airbnbID"},{"_id":"5b00f98067a5af0003317512","ref":"","in":"body","required":false,"desc":"SkypeId of guest","default":"","type":"string","name":"skypeID"},{"_id":"5b00f98067a5af0003317511","ref":"","in":"body","required":false,"desc":"Favorite Airline by which guest likes to travel","default":"","type":"string","name":"favoriteAirline"},{"_id":"5b00f98067a5af0003317510","ref":"","in":"body","required":false,"desc":"The profile Note of the guest","default":"","type":"string","name":"profileNotes"},{"_id":"5b00f98067a5af000331750f","ref":"","in":"body","required":false,"desc":"Date of Birth of the Guest","default":"","type":"string","name":"dateOfBirth"},{"_id":"5b0d831125c16000033521cb","ref":"","in":"body","required":false,"desc":"New Email of the Guest","default":"","type":"string","name":"email"}],"url":"/guests"},"isReference":false,"order":17,"body":"","excerpt":"Update Guest Account","slug":"guest-3","type":"endpoint","title":"/guests"}

put/guests

Update Guest Account

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

agencyUid:
required
string
The unique Agency Uid
firstName:
string
First Name of the Guest
password:
string
Password of the Guest account
affiliateID:
string
Affiliate ID
lastName:
string
Last Name of the Guest
phoneNumber:
string
Phone Number of the Guest
mobileNumber:
string
Mobile Number of the Guest
address:
string
Address of the Guest
city:
string
City corresponding to the address
zipCode:
string
ZipCode of the city
state:
string
State in which the city is present
countryCode:
string
Country of the address
pictureURL:
string
Guest's picture URL
facebookURL:
string
Facebook profile URL
twitterHandle:
string
Twitter Handle of Guest
linkedInURL:
string
LinkedIn profile Link
airbnbID:
string
AirBnB ID
skypeID:
string
SkypeId of guest
favoriteAirline:
string
Favorite Airline by which guest likes to travel
profileNotes:
string
The profile Note of the guest
dateOfBirth:
string
Date of Birth of the Guest
email:
string
New Email of the Guest

Result Format


User Information

Try It Out

put
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}