Open
Description
Please list the package(s) involved in the issue, and include the version you are using
- shopify/retail-ui-extensions-react V1.4.0
Describe the bug
The fetchProductVariantWithId function, at times, returns incorrect value for position
parameter in the response. An issue was faced where there was only 1 variant available for the product, yet the position
property for that variant was received as 2
Steps to reproduce the behavior:
This behaviour is not observed for all the products hence not sure what kind of products show this behaviour.
Expected behavior
The position property received by fetchProductVariantWithId()
should match with the response of fetchProductWithId()
Screenshots
