Marketing Integrations

SNecsulescu
Participant

Marketing / Non Marketing Contacts via API

SOLVE

Hi all,

 

I have a website where customers can register. On the registration form, there is a checkbox for them to agree to our marketing purposes. A contact will be created in Hubspot, via API, with the 'Marketing Contact Status' property set based on what the user selected.

After they sign in, they have the option to opt in/out if they changed their minds.

I'm looking to update the 'hs_marketable_status' property in Hubspot(which seems to make the contact Marketing / Non-Marketing) via API. Based on the online articles and my findings, that's throwing an error. Once set, the 'hs_marketable_status' property cannot be changed.

Did anyone find a good workaround? Or is there another approach to achieve this?

 

 

/Sorry if this is not posted under the correct category.

 

Thanks,

Silviu

1 Accepted solution
TomM2
Solution
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Marketing / Non Marketing Contacts via API

SOLVE

Hey @SNecsulescu I'm surprised actually, it seems this is not possible via the api. There's an open ideas post here which I would advise upvoting! 

 

The only workaround for this would be through workflows. You can update a marketing contact status via a workflow. So you could either choose a value to enroll contacts into this workflow to change their status, or even use a webhook in a workflow from your external system to push them through the workflow and update their status! 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


View solution in original post

2 Replies 2
SNecsulescu
Participant

Marketing / Non Marketing Contacts via API

SOLVE

Hi Tom, thanks for your reply. I upvoted the idea.

 

Indeed I had workflows in mind. Unfortunatelly that might not be a solution for me because that seems to be a feature enabled for 'Marketing Hub Professional' only. Let me know if there's anything else that you could think of.

 

Thanks,

Silviu

0 Upvotes
TomM2
Solution
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Marketing / Non Marketing Contacts via API

SOLVE

Hey @SNecsulescu I'm surprised actually, it seems this is not possible via the api. There's an open ideas post here which I would advise upvoting! 

 

The only workaround for this would be through workflows. You can update a marketing contact status via a workflow. So you could either choose a value to enroll contacts into this workflow to change their status, or even use a webhook in a workflow from your external system to push them through the workflow and update their status! 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.