Combining deal and contact properties


#1

Guys. I need to visualize won deal segmentation by contact_source from contacts entity.

Is it possible to get the value of that property in response json by querying deals.
Would this work?
https://api.hubapi.com/deals/v1/deal/paged?limit=250&&properties=dealname&properties=dealstage&properties=pipeline&includeAssociations=true&properties=contact_source


#2

Hi @Oleksandr_Furtak,

It’s not possible to pull contact properties when querying the deals endpoint. You would have to use the deal’s associatedVids to get the contact_source property from the deal’s associated contact records.


#3

Thanks a lot Derek! I see already