Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everyone!
I am trying to update product image with the updateProduct mutation (updateProductImage is deprecated), As I understand I need to user productCreateMedia first and then use productUpdate to update the image.
I would appreciate an example of updating specific product image with productUpdate mutation and extra explanation about productCreateMedia mutation and its usage.
Thank you in advance!
Hey, @Ido1425
Happy to help! I recommend referring to the official Shopify GraphQL Admin API documentation. These resources provide detailed information on the productCreateMedia and productUpdate mutations:
These resources will help show you how to effectively use these mutations for updating product images in Shopify using GraphQL. If there is anything else I can help you with, please let me know.
Dirk | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025