How to use Between in V3 search API.

Highlighted
New Contributor

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?  

Reply
0 Upvotes
2 Replies 2
Highlighted
HubSpot Moderator

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! 

Reply
0 Upvotes
Highlighted
HubSpot Moderator

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

Reply
0 Upvotes