APIs & Integrations

amitc005
Member

How to use Between in V3 search API.

Screenshot from 2020-06-29 15-12-14.pngDid not find any example about Between in the documentation. Please can anyone suggest how to use the between operator?  

3 Replies 3
WendyGoh
HubSpot Employee
HubSpot Employee

How to use Between in V3 search API.

Hey @amitc005,

 

Here's an update! I have checked in with our internal team and at the moment, the IN and BETWEEN operators are not supported for external callers.

 

We will update the documentation to reflect that.

 

Having said that, the same functionality can be achieved by using the AND and OR operators appropriately.

i.e.

property BETWEEN 1 and 10 = property > 1 AND property < 10

property in [1,2,3] = property = 1 OR property = 2 OR property = 3

0 Upvotes
TSDev
Participant

How to use Between in V3 search API.

Hello, is there any update about using BETWEEN operator on SEARCH function?

It will be really useful due to we can use not more than 3 conditions only.

0 Upvotes
WendyGoh
HubSpot Employee
HubSpot Employee

How to use Between in V3 search API.

Hey @amitc005,

 

This is a great question! I would expect to have another key to set another value and for this I'll have to check in with our internal team and I'll keep you posted here! 

0 Upvotes