Development discussions around Shopify APIs
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.
Solved! Go to the solution
This is an accepted solution.
Hi @howard-boost,
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
This is an accepted solution.
Hi @howard-boost,
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
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!
Hi @howard-boost,
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
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.
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
searven.com web site not receiving e-mails i can not contact them anout my order #3668 thanks gary.
Any update on introducing collects webhook?
Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023