Option Values no longer returned when specifying fields for product.json

Highlighted
Shopify Partner
14 0 1

We used to be able to get the values along with the options when specify the fields in the url:

https://narrow-by-filters-demo.myshopify.com/admin/products.json?fields=options,id

 

image.png

Now the output is missing the values element options. 

If we do not specify fields in the url then the values are included.

Tried using version 2019-04 and 2019-07 and both have the same issue.  Could not located older API versions to try.

0 Likes
Shopify Staff
Shopify Staff
1102 77 144

Hey @Brian_McKinley , 

 

This looks like a bug to me - I'll file a report and look into getting this fixed! If anything I would expect the behaviour to be the other way around where /products.json didn't return the values, but requesting options specifically did (to make the products.json query less expensive to perform). 

0 Likes
Shopify Staff
Shopify Staff
1102 77 144

Hey again @Brian_McKinley , 

 

This was in fact a bug - a fix is on the way! Once it has deployed, as long as variants are not being requested the values should be returned. 

0 Likes