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
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024