Hi there, this may be a bit of a basic question but I’m having trouble making a query with the $in command in a query.
I’ve attempted this:
https://builder.io/api/v2/content/profile?apiKey=ab24932172a5427f981ba9d6a9b615a6&query.data.sku.$in=20202020","10101010
But receive an error claiming I haven’t submitted an API. So when I used JS-style arrays it doesn’t return my results ie:
https://builder.io/api/v2/content/profile?apiKey=ab24932172a5427f981ba9d6a9b615a6&query.data.sku.$in=[20202020,10101010]
I also attempted with double quotes between the values.
I just want to make sure that I’m querying properly and my syntax isn’t incorrect. If this should work then perhaps it’s something else causing my trouble.
Also it would be nice if this was clarified because $in as a Mongo query in JSON works differently than the query string variant it seems. I could be wrong.
Thanks,
David