How to get the Company Name from a Deal


#1

I am working with the Deals API and I would like to know how to get the Company Name from a Deal?


#2

Hi @ricky23,

The company property Name belongs to the company object and thus cannot be pulled directly from the Deals API.

When you get a deal, the Deals API returns the ID of any associated company in the associatedCompanyIds field.

To get the company name, you must then query the Companies API with the returned companyId.


#4