All operations
LEADS
Updates an existing lead by its ID.
PUT
/api/v2/leads/{leadId}Authentication
Choose one supported method for this request.
Parameters
leadIdpathinteger · int32requiredThe ID of the lead to update.
Request body
The updated lead data.
leadIdinteger · int32ownerIdinteger · int32descriptionstringcommentsstringstatusIdinteger · int32sourceIdinteger · int32sourcestringnullablesourceLocationIdinteger · int32assignedReasonIdsinteger[]companyNamestringaddress1stringaddress2stringcitystringzipstringstatestringcountrystringcountystringfaxstringwebstringcompanyPhonestringcompanyIdinteger · int32contactIdinteger · int32titlestringpositionstringfirstNamestringlastNamestringdepartmentstringphonestringcellstringemailstringsourceUrlstringsourcePagestringbranchIdinteger · int32makestringmodelstringequipmentTypestringenterTypestring
Responses
Lead updated successfully.
Standard response envelope
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
recordTypestringnullableleadIDinteger · int32nullableownerIDinteger · int32nullablestatusIDinteger · int32nullablesourceIDinteger · int32nullablesourcestringnullablesourceLocationIDinteger · int32nullablesourceLocationstringnullableratingstringnullabledescriptionstringnullablecompanyIDinteger · int32nullablecompanyNamestringnullableaddress1stringnullablecitystringnullablestatestringnullablezipstringnullablecountystringnullablecountrystringnullablecontactIDinteger · int32nullablecontactNamestringnullablefirstNamestringnullablelastNamestringnullableemailstringnullablephonestringnullablecellstringnullableequipmentIDinteger · int32nullablemakestringnullablemodelstringnullableserialNostringnullablestockNostringnullableyearstringnullablehoursinteger · int32nullableattachmentsstringnullabledeletedbooleannullableownerNamestringnullablestatusNamestringnullablecommentsstringnullabledateAssignedstring · date-timenullabledateAcknowledgedstring · date-timenullabledateConvertedstring · date-timenullableaddress2stringnullablefaxstringnullabletitlestringnullablepositionstringnullablecompanyPhonestringnullablewebstringnullabledepartmentstringnullablefavoritebooleannullableassignedReasonIDsinteger[]nullablestrAssignedReasonsstring[]nullableassignedReasonsDisplaystringnullablelatitudenumber · doublenullablelongitudenumber · doublenullableequipmentTypestringnullablesourceUrlstringnullablesourcePagestringnullablebranchstringnullableassociatedQuoteinteger · int32nullableidentifierstringnullablebranchIDinteger · int32nullableclosedbooleannullablecanAcknowledgeboolean