Hello,
I’ve tried any number of combination for webhook filtering on products/update webhook and it doesn’t work.
From the documentation this is what I understand:
id:* AND status:active AND tags:*Sport*
I also tried *Sport / Sport / Sport*
.
Also tried using tag:
instead of tags to no prevail.
Hi @leonardhja, there may be a couple things going on here. In your filter I don’t think the id:*
is likely providing any value and can be removed. There was also an issue earlier this week that has since been resolved where numeric fields using a prefix filter weren’t being handled correctly.
Secondly, on the tags the *Sports*
query likely isn’t doing what you expect, filters are using Shopify’s Search Syntax which only support prefix but not wildcards (i.e. Sport*
is valid but *Sport*
would actually be looking for something literally starting with *Sport)
.
The other consideration here is the tags field unfortunately today is a comma separated list in a single field. If you have multiple tags on a product then it may not be effective to use the prefix query in this case. This is something we are aware of and have surfaced with our products team to consider.