Previously we used the product api to query all products in our store, we would get variant_ids returned for the variants that shared that image file.
Recently I'm noticing that the variant_ids array is always empty when I know for a fact that cannot be the case
nothing on our end has changed, yet magically this information is not present on the response.
Has something changed that i'm not aware of? How else are we able to retrieve our product/product variant images?
This screams "BUG" to me, so please help me resolve this issue as it has become urgent for me and my organization.
What does this specific product look like when you bring it up in the Shopify web admin? Perhaps the images aren't assigned at the variant level, just the "parent" product level. Here are screen shots of the Shopify web admin and the API call for a product that has its images assigned at the variant level. Looks okay implemented this way.
Here is a link to show how products look in shopify: https://monosnap.com/file/zVkbkQoiYMGsIKEfbgfMWuSu7DlVfQ
Even when using the default title variant (default variant for a product that does not have any additional variants added to it) the id is empty.
It seems regardless of how these products are configured I cannot get the necessary information from the API to properly link images to products and product variants.