Hi all,
I am tring to get the data with all the properties of contatcs and companies associated using an association API.
I am also trying to get the data from the custom object, which has multiple objects associated with it like, companies, contacts and deals.
I am trying the below one and it does not provide me all the properties associated to the deals and contacts.
https://api.hubapi.com/crm/v3/objects/deals?associations=contacts
Please let me know, how can I get all the properties with value?
Thanks,
Simha
Hi, @Simha08
Thanks for your post. There are a couple of issues here. Let’s look at how to solve them:
- You’ll need to include the properties for the (main) object in your query param
- You will need to make a separate request to get back specific properties for each of your associated objects (the Search API is useful here)
- If you have a Content Hub Professional or Enterprise subscription, you can look into GraphQL:
— Dev doc on GraphQL
— Article from a community member on how they used GraphQL to optimize their queries
Best,
Jaycee