Webhook for product's collection changing


@ivgalic wrote:

Just following up on this as well.

 

The last reply from Shopify made it sound like it should work - i.e. we should be getting a trigger when a collection is updated - but that's not happening.

I'm not concerned about the hook not containing the details about the change - happy to fetch the products belonging to it when the hook is triggered. But I'm getting neither product nor collection hook triggers when you add a product to collection.

Just to be clear here, I'm talking about manual collections - for automated ones, the hook does get triggered because the collection object itself changes.


@Alexdo you have any update here?

Co-Founder / Developer at: merchbees
Merchbees Low Stock Alert - Keep track of your low stock items by email and slack
Merchbees Inventory Value - Know your inventory value and quantity in real-time
Push Down & Hide Out of Stock - Move out of stock products to the bottom of the collection to improve SEO & hide/ unhide automatically
0 Likes
sravans
Excursionist
17 1 4

Seems it's still the case and no one knows how do we get webhook updates when a new product is added to a collection.

@Alex Would you please address this problem?

0 Likes
Jason27
Shopify Partner
63 0 20

I just tested using api 2020-07. 

Collections/Update works fine when products added or removed from a Custom Collection in the Edit Collection section of the Admin.

However with a Smart Collection, if a product is added or removed automatically it does not register - you have to catch the products/update webhook instead.

But if you modify the settings of the Smart Collection, it will generate a Collections/Update.

Here's the BUG: If you add or remove a collection from the Product Edit page in the right side box, it does not register a Collections/Update OR Products/Update

This issue needs to be escalated asap.

0 Likes
___END___
Tourist
16 0 3

Yup it is a problem and unfortunately customers will probably take it out on app developers. Just when we thought collection handling had improved we have this big hole. 

0 Likes
Jason27
Shopify Partner
63 0 20

Everyone should go to their partner dashboards, click Support -> Email -> Topic choose API Development. And send them the details about the Product edit page right side collection box webhook error. Do it now!

Here's what I wrote:

Hello please fix this bug:

If you add or remove a collection from the Shopify admin Product Edit page in the right side box, it does not register a Collections/Update OR Products/Update webhook. Both webhooks are not firing when adding or removing collection and then pressing SAVE in top right corner (it should at least fire one of them).

I've thoroughly tested this - collections webhook is sent from changes in collection edit page, but NOT product edit page.

This is causing us to be unable to register changes in collections, and creating issues with merchants not understanding why.

 

0 Likes