The webhook does get called when I use the "Sort" dropdown to switch from an automatic sort to manual sorting, but when I drag an individual product to manually re-order, the webhook doesn't get called.
Is this a bug? I want to know when the manual sort order of a collection has changed, but it doesn't seem to work.
Changing the sort_order property of the collection is updating the collection object itself, leading to a webhook being fired. Changing the order of the products in the collection manually when the sort_order is already manual does not lead to a change of the collection object itself, which is why you're not seeing webhooks firing. The value being changed (position in a collection) lives on the collect, which at this time does not have a corresponding webhook unfortunately.
+1 on this feature request
It would also be nice to have the `updated_at` field respect sort order change as well. Maybe this is a given in order to generate the new webhook entry...
@Alex , any update if we might be able to get the `collection/updated` webhook fired when a collection product sort order is changed?
It seems like the the Collect entries are 1:1, i.e. product to collection, so the only way to know if a sort order has changed in a collection, would be to monitor every single Collect for a collection. Am I misinterpreting this? If I'm reading it correctly, that's a massive amount of lifting in order to know if the product sort order of a collection has changed.
+1 we need to have a webhook here as well.