Hi,
I have a simple query like this:
{"query":"{products(first:10,query:\"title:*brace*\"){edges{node{title}}}}"}
If I want to search the product inventory SKU field, instead of title, it seems it needs an alternative syntax as the SKU is a product variant, as the query:
{"query":"{products(first:10,query:\"sku:*brace*\"){edges{node{sku}}}}"}
as it comes back with Field ‘sku’ doesn’t exist on type ‘Product’".
I’ve tried a few different ways, but the syntax eludes me. Does someone have the syntax to search a SKU?