FROM CACHE - en_header

Matching Product Image URL to Variants

New Member
1 0 0


I'm managing a store with a large inventory of products that we have to add dynamically through the Shopify API. The products that I'm adding in the API have multiple variants each with their own image that I want to associate it with during creation. I understand that through the Admin REST API, we aren't able to do this with just one API call. So I've been making do with making 2 calls, one to create the products, variants and images, and the other to link the images to the appropriate variants.

However to do this, I need to match up the filenames of our variant images with the new ones that Shopify creates. The problem I'm seeing is that for some images that we upload to Shopify, the API modifies them in ways that aren't expected. 

According to the following post here:, it says that the filenames are unchanged. However in the linked screenshot below, it clearly shows that the file has been further modified than what it was supposed to.

Screen Shot 2021-10-15 at 10.28.53 AM.png(Also forgot to mention, I also removed the url filters in shopify's image URL for a cleaner comparison)

Is this a problem with the image URL I sent to the API, or is it a bug within Shopify's API? I'd appreciate any assistance on this matter.

Many thanks


Replies 0 (0)