Hi All,
I’ve been trying to figure out for the past few days why my Search API call won’t work and I’ve been able to figure it out.
Here is a call that returns 0 results
{"filterGroups": [
{
"filters": [
{
"values": ["SKU_<SKU>","SKU_<SKU>","SKU_<SKU>","SKU_<SKU>","SKU_<SKU>","SKU_<SKU>","SKU_<SKU>","SKU_<SKU>","SKU_<SKU>","SKU_<SKU>"],
"propertyName": "sku",
"operator": "IN"
}
]
}
],
"properties": [
"sku"
],
"limit": 50,
"after": 0
}
BUT, Searching for 1 at a time does work and will return them
{"filterGroups": [
{
"filters": [
{
"value": "SKU_<SKU>",
"propertyName": "sku",
"operator": "EQ"
}
]
}
],
"properties": [
"sku"
],
"limit": 50,
"after": 0
}
Is there any planned fix for this or am I doing something wrong?
What is interesting to note is that before I put the “SKU_” infront of each of the values only the purely numbered values were being found and not the strings.