Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, thanks for maintaining this awesome gem
I wanted to be able to search deals by name and pipeline, and this functionality was missing from the gem (AFAICT), even though it looked supported by the objects v3 search API
Originally found this discussion here: https://community.hubspot.com/t5/APIs-Integrations/How-can-I-do-a-search-for-all-deals-in-the-default-pipeline/m-p/793111 which led to the v3 search docs here: https://developers.hubspot.com/docs/api/crm/search
I've got this working, can be searched and filtered like so:
Unfortunately the search API seems to return results in a very different format from the v1 API that was currently being used to fetch deals, so I had to strip out some of the associations from being required for deal init.
Let me know if you would accept a PR like this, what tests you would need, anything else you'd change about the way I'm doing this lmk