Skip to main content
PATCH
Update Values of Custom Variables of a Lead
This is not about renaming your custom variables, but really about updating the values within, just like the Update Lead endpoint would do on default variables.
Default variables follow the Update Lead rules: they are written on the lead’s contact and company as well, and companyName alone renames the company the lead is linked to.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

leadId
string
required

The unique identifier of the lead

Query Parameters

customField1
string

Example custom variable

customField2
string

Example custom variable

customField3
string

Example custom variable

Response

Success

ok
boolean
Example:

true

warnings
object[]

Optional warnings, never a failure: the company part of the update was skipped.