Reordering the images does not trigger the webhook products/update

Solved
New Member
4 0 0

Hello,

 

We are using the webhook products/update to keep track of all product changes on our shop.


Unfortunately we noticed that this webhook is not triggered when changing the order of the product images. The webhook is triggered when adding or removing images or when assigning them to a variant.

 

For us this looks like a bug. Or is this really the expired behavior?

 

Thank you very much & best regards,
Maggi

0 Likes
Highlighted
Shopify Staff
Shopify Staff
7 2 2

Hello Maggi,

 

Can you confirm whether you are re-ordering product images using the Shopify Admin (your-shop.myshopify.com/admin/products/:product_id) or if you're using the API?

In any case, can you let us know the myshopify.com domain of the shop you're working on?

Lastly, if you are using the API, can you confirm the name of your app, the shop and perhaps its API key?

 

Regards,

Chris

0 Likes
Highlighted
New Member
4 0 0

Hello Chris,

 

Thank you for your reply!

 

We are changing product information (including the re-ordering of images) using the Shopify API (with an private app to push new products or updated product information from our distributor to Shopify) and the admin site to modify the products afterwards (for example adding additional images and re-ordering them manually). Therefore we need the webhook to synchronize our manual changes which we do via the Shopify Admin site with our database so that following API calls to update the product information won't reset the image order).

 

So we noticed the issue when re-ordering the images using the Shopify Admin site (e.g. *our-shop*.myshopify.com/admin/products/4442110787637). We tested it with several products and the webhook was never triggered.

 

I sent you our shop URL and the API key that has the webhooks registered via PM.

 

Thank you very much & best regards,

Maggi

0 Likes
Highlighted
Shopify Staff
Shopify Staff
7 2 2

Maggi,

 

Thank you for reporting this issue. I can confirm this is an existing bug. I've informed the team who maintains this feature and have provided them the details you sent me.


The team is working on a fix, and we'll get back to you once it has been applied. Thank you for your patience in the meantime.

Chris

0 Likes
Highlighted
New Member
4 0 0

Hi Chris,

 

Thank you very much for the update and I am glad to hear that your colleagues are already working on a correction.

 

One more thing I should mention: In the meanwhile I noticed that also assigning product images to an variant does not trigger the products/update webhook anymore. I tested it with product 4442110787637 and I am sure that it worked earlier. Unfortunately I don't know what exactly caused that the webhook is not triggered anymore.

 

Thanks & best regards,
Maggi

0 Likes
Highlighted

Success.

Shopify Staff
Shopify Staff
1 1 0

Hello Maggi,

 

I wanted to inform you that we have fixed the issue of webhooks not being sent on reordering of product images, please let us know if things are looking good on your end as well. Once again thanks for reporting the issue to us.

 

Also, I looked into the other case that you mentioned and it looks like webhooks are being fired from our end after assigning an image to the product variant. Can you try once again and see everything is set up correctly and if you are still able to recreate the issue? 

Siddhant

0 Likes
Highlighted
New Member
4 0 0

Hello siddhantbajaj

 

I am sorry for my late reply! 

 

I can confirm that the issue has been solved and that the webhook is now getting called when reordering the product images. The webhook is also properly called when an image is deleted or assigned to an variant.

 

 

Thank you very much for the fast support and the fix! :)

 

Best regards,
Maggi

0 Likes