Skip to content
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

associationsApi compatibility #492

Open
aleczratiu opened this issue Aug 1, 2024 · 0 comments
Open

associationsApi compatibility #492

aleczratiu opened this issue Aug 1, 2024 · 0 comments

Comments

@aleczratiu
Copy link

Hello,

After the upgrade from version 8 to the latest I have some breaking changes regards associationsApi where this method have been used also in the past to delete the associations like:

await client.crm.companies.associationsApi.archive(
    x.fromIdType === HubspotAssociationType.COMPANY ? +x.fromId : +x.toId,
    'contacts',
    x.fromIdType === HubspotAssociationType.CONTACT ? +x.fromId : +x.toId,
);

What is the approach that should be used now to remove the associations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant