Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I am trying to respond to a product update webhook and update some properties of the associated images. I'd like to use the productUpdateMedia mutation, but the webhook data doesn't have the MediaImage IDs that are needed.
Is this possible to do? It seems like Shopify needs to add the new MediaImage ids into the webhook data.
Alternatively, if the productUpdateMedia mutation would accept a gid with the old ProductImage ID, that would work too. e.g.
"id": "gid://shopify/ProductImage/123456789"