API For updating a lead
Field names for updating a field
| Field Name | Example | Description |
|---|---|---|
| recordId (parameter) | 4951413000000442002 | this is the specific record(lead) that you want to update |
| "[email protected]" | ||
| Website | "www.test.com" | |
| First_Name | "John" | |
| Last_Name | "Doe" | |
| Lead_Status | "Loan Inquiry" | |
| Mobile | "2547208798955" | |
| Desired_Amount | "50000.00" | |
| Desired_Period | "5" | |
| Lead_Source | "USSD" | |
| Desired_Security | "Logbook" |
Curl command for updating a Lead
curl --location --request PUT 'http://localhost:9000/api/v1/zoho/lead?recordId=4951413000000442002' \
--header 'Content-Type: application/json' \
--data-raw '{
"Email": "[email protected]",
"Website": "www.prestacapital.com",
"First_Name": "George",
"Last_Name": "Gitau",
"Lead_Status": "Loan Inquiry",
"Mobile": "2547208798955",
"Desired_Amount": "50000.00",
"Desired_Period" : "5",
"Lead_Source" : "USSD",
"Desired_Security": "Logbook"
}'