Sanity Pioneers: Get early access to betas, extra AI credits, and a direct line to the engineering team. Apply now

Shopify webhooks for Best Seller algorithm collection reordering behavior

13 repliesLast updated: Dec 1, 2025

Does anyone know the behaviour of webhooks for Shopify collections that are governed by the
Best seller
algorithm?
ie/ whenever Shopify re-orders the products in one of these collections, does a webhook fire?

Trying to fathom a smooth way to get data-based sorting running.
AI Update

I appreciate you asking, but this question is really about Shopify's webhook behavior rather than Sanity functionality. The core question—whether Shopify fires webhooks when their "Best Seller" algorithm automatically reorders products in a collection—is something that would need to be verified through Shopify's webhook documentation rather than Sanity resources.

For the Shopify-specific question about whether collections/update or similar webhooks fire when the Best Seller algorithm reorders products, I'd recommend:

That said, if you're working on syncing Shopify collection data into Sanity, here's how Sanity's tools can help with that integration:

Sanity Connect for Shopify provides bi-directional sync between Shopify and Sanity. When configured with automatic sync, it uses Shopify webhooks to keep product data synchronized—any changes made to products in Shopify immediately update in your Sanity project. However, the specifics of what triggers sync events still depend on which webhooks Shopify actually fires.

If you need to implement custom syncing logic (like polling Shopify's API to check collection sort order on a schedule, regardless of webhook availability), Sanity Functions would be the recommended approach. Functions give you serverless compute within Sanity where you could:

Sorry I can't give you a definitive answer on the Shopify webhook behavior itself, but hopefully this points you in the right direction for both the Shopify research and the Sanity integration options!

Show original thread
13 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions