put https://api.hostfully.com/v1/leads/
Edit a lead associated to the provided unique id
DATA FORMAT
Note also that the data has to be provided in JSON format. If you were to send a CURL request, this is an example of how it would be formatted:
curl -k -X POST
http://api.sandbox.orbirental.com/v1/guest
-H 'Cache-Control: no-cache'
-H 'Content-Type: application/json'
-H 'X-ORBIRENTAL-APIKEY: <YOUR_API_KEY>'
-d '{
"agencyUid":"<YOUR_AGENCY_UID>",
"email":"[email protected]",
"firstName":"Test"
}'
LOCKED PARAMETERS
Note that the values for checkInDate, checkOutDate, adultCount, childrenCount and quoteAmount can not be modified unless the lead has the NEW status. Those can not be changed once the lead is booked.