APIs & Integrations

brianzimorowicz
Member

Solved - Updating a group of deals

I had an issue attempting to update a group of Deals through the API but I have solved it.

As this page https://developers.hubspot.com/docs/faq/how-should-timestamps-be-formatted-for-hubspots-apis states:

"Date properties will only store the date, and must be set to midnight UTC for the date you want. "

My script was converting to my time zone, so subtracting 4 hours, and therefore breaking. SO I told my script that my timezone is actually GMT 0 (UTC) and any Deal property in my portal that was marked as a date picker type then started updating.

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Solved - Updating a group of deals

Hi @brianzimorowicz,

I can delete to post if you’d like, but we often leave solved topics on the forum to aid future posters with similar issues. Just let me know if you’d like me to delete this topic.

0 Upvotes