(associations - Array of stringsQuery param.A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.)
Neither of them worked.
My question is how can I use the "api.hubapi.com/crm/v3/objects/deals" endpoint to include also associations? Or should I use the "https://api.hubapi.com/deals/v1/deal/paged" and find a way to pass the parameters correctly?
Oct 12, 202111:47 PM - edited Oct 13, 202112:08 AM
Contributor
Get associations with deals from crm objects deals endpoint
SOLVE
It's been over a year since this was solved, I've tried the &associations=companies approach, and I'm not getting 'associations' in they returned payload. I tried adding it in the post payload similar to 'properties' as an array, but that did not work either.
Is this still supposed to be working?
Update: this does work when using crm/v3/objects/deals/ but not crm/v3/objects/deals/search
Taking a look through your question, I cannot see specifically the required query parameters needed to return associations for deals (feel free to correct me if I am mistaken).
As per the documenatation found here, you can find associations fordealsusing theassociations.{objectType}pseudo-property.
For Deals, these are the supported association filters: