Image src display my url

Highlighted
New Member
2 0 0

Hi everyone!

Does anybody know how I can update my images src through API, and every time the image is displayed shoes my updated URL? Is this even possible?

I've tried to update src through API and alt attribute, alt was updated but src not.

0 Likes
Highlighted
Excursionist
39 1 6

Hi @AnicaSutic ,

 

My understanding is that you cannot update image content through the API. The old image will need to be removed & the new image will need to be added.

Per this thread:

https://community.shopify.com/c/Shopify-APIs-SDKs/update-product-image-using-REST-api/m-p/643583

 

Thanks,

Conner

0 Likes
Highlighted
New Member
2 0 0

Thanks, but is there some way that my images have another URL, not the CDN from Shopify? It there a way to serve images from some cloud or another host?

0 Likes