UpdateLeadCustomFields

View as Markdown
Update (upsert) custom fields on a lead in a list. Keys are field names, values are field values. - If a field exists: its value is updated. - If a field does not exist: it is created. - If the value is null or an empty string: the field is deleted. Up to 100 custom fields per request. Field names max 128 chars, values max 2048 chars. `leadMemberIdOrUrl` accepts a LinkedIn member id or a (URL-encoded) profile URL. Returns the final state of all custom fields on the lead.

Path parameters

listIdstringRequired

Headers

X-API-KEYstringOptional

API key header using this scheme. Example: “X-API-KEY: {API_KEY}

Request

This endpoint expects an object.
leadMemberIdOrUrlstringRequired
customFieldsobjectRequired

Response

OK
leadIdstring
listIdinteger
customFieldslist of objects