Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi,
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: https://community.shopify.com/c/shopify-apis-and-sdks/prodcut-image-url/m-p/600298/highlight/true#M4..., 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.
(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
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By