HubSpot / hubspot-api-ruby

HubSpot API Ruby Client Libraries for V3 version of the API
Apache License 2.0
113 stars 57 forks source link

How do associations work? #330

Open eprislac opened 1 month ago

eprislac commented 1 month ago

Please document this. I've been trying for two days to get all child companies for a given parent company, I can see the data in Hubspot, I know the website at least can do it. How does one do it with this gem?

max-pi commented 1 day ago

Hi @eprislac , did you end up figuring this out? I'm trying to add associations after creating company and user, but HUBSPOT_CLIENT.crm.companies.associations_api.create doesn't seem to be a valid method path. Unclear where associations_api is if anywhere..