Update a lead
PUT/crm/{connection_id}/lead/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Lead
Payload
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
first_namestring
last_namestring
user_idstring
(reference to HrisEmployee)
creator_user_idstring
(reference to HrisEmployee)
contact_idstring
(reference to CrmContact)
company_idstring
(reference to CrmCompany)
company_namestring
is_activeboolean
sourcestring
statusstring
link_urlsstring array
Returns
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
first_namestring
last_namestring
user_idstring
(reference to HrisEmployee)
creator_user_idstring
(reference to HrisEmployee)
contact_idstring
(reference to CrmContact)
company_idstring
(reference to CrmCompany)
company_namestring
is_activeboolean
sourcestring
statusstring
link_urlsstring array
const options = {
method: 'PUT',
url: 'https://api.unified.to/crm/5de520f96e439b002043d8dc/lead/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
data: undefined,
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know