Update deals through API based on company domain


Hi guys,

I'm trying to find a way to update a deal stage for a company from our own software. Basically, what I'd like to do is update the deal stage based on the company domain. Our software doesn't know any deal ids etc. Is this something the Hubspot API allows for?



Hi @Bart_Vintcent,

There isn't any built-in method to update a deal record based on it's associated company domain, but you could search for company records by domain, and then get that record's associated deals via the Companies API:



Smart suggestion, we'll go ahead and see if that works for us!