I am wondering if it is possible to programmatically associate product images with product variants with the Variant Images App enabled. I have created a private shopify app that adds products and variants programmatically. Instead of having to go into the app and manually link variants with images, I am wondering how this app associates variants with product images.
Does the app create the association through a metafield? If so, then if I knew how it was formatted I suppose I could do this programmatically, as my store will be regularly adding new products.
Thanks!