variantBySelectedOptions field doesn't exist on Product #131
Comments
It definitely still exists. 🤔 are you sure you're using the Storefront API and not the Admin API? Only easy explanation I could think of |
Sorry. That was exactly the issue. I was using the Shopify GraphiQL App, but I didn't realize it only used the Admin API. Also here is an issue I noticed, that I want to just document in case its helpful for anyone in the future. When using My query looked like this
If there's a better way to stringify the object please let me know |
Has this field been deprecated? I see it in the docs but it isn't found when I run the query below
Documentation
https://shopify.dev/docs/storefront-api/reference/products/product?api%5Bversion%5D=2021-01#fields-2021-01
query
response
The text was updated successfully, but these errors were encountered: