I’m trying to post to a lead’s custom field and every time I try to it doesn’t load the lead.
$leads = array(
'title' => $name,
'person_id' => $person_id,
'organization_id' => (int)($org_id),
'customfieldcode' => $_SESSION['advert_code']
);
The custom field is setup in the lead/deal data fields.
When I just post title, person_id and organization_id to the lead endpoint there isn’t an issue, however when I try and post to the custom field the post fails.
Any ideas?