Updating product image

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.