If so, there are no contact properties with the internal names dateofbirth or birthday in that account. Instead, I found this one, so I would try with date_of_birth.
If so, there are no contact properties with the internal names dateofbirth or birthday in that account. Instead, I found this one, so I would try with date_of_birth.
Beware – the default HubSpot Contact Property "Date of birth" is a line of text (so you could literally enter "My birthday" as their birthdate... not so helpful (the field is populated by Facebook... which is useful).
With our Birthday HubSpot Integration we create a new Date Picker Field for the "Date of Birth". We're working on a new version that has fields for Year, Month, Date.
In answer to your question – yes – in HubSpot you can create a Custom Property for Year, Month, Date. I would label the fields clearly so nobody accidentally uses the default field.
Ok this actually does not work across accounts -- as it works on our account, but when trying on another users account, it returns an error of invalid birthday.
The issue is that one account uses date of birth but field type is set to 'single-line text', while the other account uses date of birth but field type is set to 'datepicker'.
When trying to pass birthday via the API to the one set as datepicker, it returns an invalid birthday response.
So the question is, how do we pass date of birth via the API when two different accounts use a different field type?