APIs & Integrations

Not applicable

Update only properties in the contacts that don't exist using Tracking Code API

SOLVE

Is it possible to only update the contact's properties which don't exist in the Hubspot? For e.g., if I have a property like city which I need to update only if a contact doesn't have any city assigned to it. Is it possible to get the property of the user that already exists using tracking code API?

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Update only properties in the contacts that don't exist using Tracking Code API

SOLVE

Hi, @manojmohan.

It's not possible to update only a contact's unknown property values without first checking their values with the Contacts API.

The Tracking Code API is effectively a one-way street into HubSpot, so you unfortunately won't be able to check a visitor's city value. You will just be able to update it.

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
2 Replies 2
Not applicable

Update only properties in the contacts that don't exist using Tracking Code API

SOLVE

Thanks for the information.

0 Upvotes
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Update only properties in the contacts that don't exist using Tracking Code API

SOLVE

Hi, @manojmohan.

It's not possible to update only a contact's unknown property values without first checking their values with the Contacts API.

The Tracking Code API is effectively a one-way street into HubSpot, so you unfortunately won't be able to check a visitor's city value. You will just be able to update it.

Isaac Takushi

Associate Certification Manager
0 Upvotes