Update contact property from date to datetime with Hubspot API
Hello Team,
I have the contact property with its type ‘date’ and I want to convert that to datetime and I did that as well and api returned 200 response but unable to check where it has been updated and where I should check it workflow.
$data =array( ‘name’ => ‘Became Attempted to Contact’,
‘groupName’ => ‘sdr_tracking’,
‘description’ => ‘DO NOT TOUCH THIS FIELD’,
“type” => “date”,
“fieldType” => “datetime”,
“formField” => false ,
);
$url=“https://api.hubapi.com/contacts/v1/properties/became_attempted_to_contact?hapikey=123”;
Update contact property from date to datetime with Hubspot API
Hi,
what is the use of the contact property to make it datetime if the UI is not available and how I can see the time in workflow or any other place ?
if you are not providing the GUI for the date and time field what if I enter the value of that contact property in workflow then how I can see the time via pull and from where ?
Update contact property from date to datetime with Hubspot API
@Raman_verma You can’t enter it via the workflow. This can’t be done via the UI. I will pass along your sentiments to the product team about adding that feature into the UI.
Update contact property from date to datetime with Hubspot API
Hi, I am getting this response but in workflow when I select it does not show the time showing only date
{“name”:“became_attempted_to_contact”,“label”:“Became Attempted to Contact”,“description”:“DO NOT TOUCH THIS FIELD”,“groupName”:“sdr_tracking”,“type”:“date”,“fieldType”:“datetime”,“updatedUserId”:,“options”:[],“deleted”:false,“createdUserId”:,“formField”:false,“displayOrder”:1,“readOnlyValue”:false,“readOnlyDefinition”:false,“hidden”:false,“mutableDefinitionNotDeletable”:false,“favorited”:false,“calculated”:false,“favoritedOrder”:-1,“externalOptions”:false,“displayMode”:“current_value”}