Integrations

Update Crm Lead

Partially update a Salesforce Lead. Omitted fields are left alone.

put/integrations/crm/connections/{connection_id}/leads/{lead_id}

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/integrations/crm/connections/{connection_id}/leads/{lead_id}
  • Auth: HTTP bearer

Path parameters

connection_idstring required

The CRM connection to act through.

lead_idstring required

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

first_namestring nullable
last_namestring nullable
emailstring nullable
phonestring nullable
titlestring nullable
companystring nullable
statusstring nullable
lead_sourcestring nullable
industrystring nullable
websitestring nullable
employee_countinteger nullable
annual_revenuenumber nullable
user_idstring nullable

Response

Successful Response

dataCrmPayload required

One CRM record, or one provider response.

Open-shaped ON PURPOSE. These bodies carry whatever the provider returned, the field set differs between HubSpot, Salesforce, Pipedrive and SugarCRM, and it grows every time one of them ships something. Pinning it would drop whatever a provider reported that this contract had not caught up on - which on a CRM surface means silently hiding the customer's own data from them.

Changes

No recorded changes to this operation across all 2 revisions of this API.