Please add a variant webhook

ClementBR
Shopify Partner
153 2 42

We need to sync all products and variants data in our database.

I see that moving forward, the product webhook will only contain data for the first 200 variants, and we will have to issue one or more queries to get the data for the remaining variants.

That sounds very inefficient, especially considering that only a single variant might have changed.

 

To make things more efficient, please introduce a new set of webhook topics for variants specifically, so that we can know when a specific variant was changed. variants/

Reply 1 (1)

Liam
Shopify Staff
2731 292 743

Hi Clement,

 

Fully understand how this new webhook would be useful, especially in the context of how the payloads for the product webhook will be handled differently when a product has over 200 variants. I've gotten in touch with the product team with this request - will update asap. 

Liam | Developer Advocate @ 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 Shopify.dev or the Shopify Web Design and Development Blog