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

Deal api getById does not return quote association #558

Open
voho opened this issue Nov 14, 2024 · 0 comments
Open

Deal api getById does not return quote association #558

voho opened this issue Nov 14, 2024 · 0 comments

Comments

@voho
Copy link

voho commented Nov 14, 2024

We have a deal with quote associated, but the API does not return it.

Our code:

    const detail = await globalHubspotApiClient.crm.deals.basicApi.getById(dealId, undefined, undefined, [
        'quotes',
    ])

The result associations is undefined.

However, if I call the endpoint directly, I get the association properly:

curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/objects/deals/XXX?associations=quotes' \
  --header 'authorization: Bearer XXX'
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