difference between product and productVariants query with graphQL

rr122
Tourist
6 1 1

Hello,

 

Does anyone have any insights regarding the implementation of the query filter parameter of the productVariants object (left window below) vs. the products object? (right window below)?

Both product and productVariant objects support querying using SKU, at least according to the Shopfiy docs. However productVariants doesn't return any products when you run a query unless the SKU is an exact match. Compare this to the products query which does return something. 

 

Is this expected?

 

 

rr122_0-1633580994042.png

 

Replies 0 (0)