Webhook not received when products reordered manually in a collection

Solved
quyennt
Shopify Partner
15 0 2

Hi,

 

Our app got all the collections/update, products/update... webhooks registered in our customer stores. But we never received any hook when user manually reordered products in a collection with `sorted_order=manual`. Is that normal? I personally think we should receive collections/update hook because it is quite common use-case.

Accepted Solution (1)

Accepted Solutions
Busfox
Shopify Staff
619 49 99

This is an accepted solution.

Hi @quyennt,

 

We don't currently have collect webhooks, which sounds like would be what you are looking for.

 

The behaviour you are seeing is expected, as the collection object itself isn't actually changing, just the collects linking the product to the collection. You would need to poll the API to get this information.

Andrew | 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

View solution in original post

Replies 6 (6)
Busfox
Shopify Staff
619 49 99

This is an accepted solution.

Hi @quyennt,

 

We don't currently have collect webhooks, which sounds like would be what you are looking for.

 

The behaviour you are seeing is expected, as the collection object itself isn't actually changing, just the collects linking the product to the collection. You would need to poll the API to get this information.

Andrew | 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

View solution in original post

quyennt
Shopify Partner
15 0 2

Hi @Busfox,

 

Thanks a lot for you answer that makes a lot of sense. However, there is another case that there is no webhook as well: when you make a bulk updates in product list page: "https://yourstore.myshopify.com/admin/products", such as making products avaialble/unavailable. Is it also expected?

 

Thanks again!

Busfox
Shopify Staff
619 49 99

Hi @quyennt,

 

Changing product availability in the bulk editor is triggering product/update webhooks for me. Can you provide more information into what you are doing that is not triggering the proper webhook (and which webhook specifically you are expecting to be triggered)?

Andrew | 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

HunkyBill
Shopify Expert
4612 54 531

When you "Poll the API",

In plain english can you explain this? I am currently listening to collections/update webhook, and when the collects are changed, nothing triggers that webhook. Also, Shopify has stated they are moving or have moved away from collects as a thing. So my question is loaded. In mid-2020, when products are added or removed from a collection, how are we supposed to recieve notice of that? What do you mean when you say POLL THE API. What are you saying exactly there?

How is polling ever a good thing? Other than in bulk operations that can take a long time, I see no excuse for this.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
Mete
Shopify Partner
115 0 24

Hey @Busfox,

We also wonder the answer of this question:

when products are added or removed from a collection, how are we supposed to receive notice of that

Do you plan any enhancement for collection webhooks?

Thanks

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
GB2
New Member
1 0 0

searven.com web site not receiving e-mails i can not contact them anout my order #3668 thanks gary.