-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use crm associations endpoints #210
base: master
Are you sure you want to change the base?
Use crm associations endpoints #210
Conversation
3 => Hubspot::Contact, | ||
4 => Hubspot::Deal, | ||
5 => Hubspot::Company, | ||
6 => Hubspot::Deal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't use key: value
for integers
DEAL_TO_CONTACT = 3 | ||
CONTACT_TO_DEAL = 4 | ||
DEAL_TO_COMPANY = 5 | ||
COMPANY_TO_DEAL = 6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the bare minimum, the long list is long and is here.
I guess we can make this list grow with time?
@uyermolkin-hubspot any chance you could review this? As you just merged a PR 😇 |
b806d92
to
9f29322
Compare
Is this project still maintained? Would really like to see this merged |
It doesn't seem so. Also, there is now an official gem https://github.com/HubSpot/hubspot-api-ruby |
Thanks. The new official gem looks awful, I'd write the interface myself before using that. |
👋 I have the same issue, official API is unusable However for me the associations delete API just does not work, even with CURL in the CLI, hubspot support told me they are looking into it. Does it work for any of you ? |
I'm sorry we don't currently remove associations, at least not automatically. |
Associations APIs currently used by this gem are deprecated, they have to be replaced before "early 2020".
See #207 and Hubspot source
This PR adds
Hubspot::Association
using the CRM Associations API, and uses it.