I use PHP SDK to update a custom date field. It woks fine when I send new date but when I try to clear the field (by sending null, “”, false) nothing happens. How can I clear the value of date custom field via API.
Hey @Pawel_Gniadkowski
Welcome to the community
Can you share the code snippet perhaps? It would help us narrow down the problem.
Usually setting NULL
for custom date fields would work
$deals = $client->getDeals();
$data['id'] = 35;
$data['9d94fc3c9c6359252562852a698afe861472d26d'] = NULL;
$results = $deals->updateADeal($data);