All things Shopify and commerce
Can I Modify an existing Product Image src attribute?
I'm trying to update a Shopify Image via their API "Modify an existing Product Image"
I can update the ALT image attribute, as the example shows, but I cannot update the image source.
There is no explicit description of what is actually possible to update or modify.
Is the update of the src possible?
Solved! Go to the solution
This is an accepted solution.
@veto64. You can try this one:
https://shopify.dev/docs/api/admin-graphql/2023-10/mutations/productUpdateMedia
This is an accepted solution.
I used rest API:
this was my example:
Hi @veto64 . Are you using rest api or graphql?
This is an accepted solution.
@veto64. You can try this one:
https://shopify.dev/docs/api/admin-graphql/2023-10/mutations/productUpdateMedia
This is an accepted solution.
I used rest API:
this was my example:
I do not know how to use the productUpdateMedia but its previous productImageUpdate graphql API
is doing the job.
Thanks
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025