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
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025