APIs & Integrations

JReporting
Member

Identify Merged Company Object

Hi,

 

I am trying to figure out a way that I can identify company IDs that have been merged from the API. When I search a company name in the GUI I am returned a single corresponding Company ID with no history. When I query the same company name through the API I am returned 2 company IDs and I can't figure out a good way to discern which one is the active one through their properties. 

 

Any help on this would be much appreciated!

 

Thanks,

James

0 Upvotes
2 Replies 2
LJJ
Member

Identify Merged Company Object

I have this same question but would like to access this data through the HubSpot/Snowflake data share, rather than API. Is this data available somewhere?

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Identify Merged Company Object

@JReporting 

Hey!  Are you using the search endpoints?  Would you mind adding exactly what endpoints you are querying?

If you use the read endpoint for the company object and use the id of the company that was merged into the other company, the response will only display the ID of the company that you merged into (if that makes sense 🙃)

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes