Products Webhooks

Products Webhooks

KCuevas
New Member
4 0 2

I'm editing a product by adding/removing collections, but this action doesn't trigger product update's webhook.

Reply 1 (1)

GrahamS
Shopify Staff (Retired)
193 37 55

Hey @KCuevas ,

This would be expected - collection association is not held anywhere in a product's json data. When you add a product to a smart collection via a condition such as tag matching, nothing about the product itself is actually updated, you just have a new object in the admin that queries all products and looks for the associated data. Because of this, the webhook payload for product updates has no collection related fields array, similar to how the products REST endpoint has no collections fields for updating.

To learn more visit the Shopify Help Center or the Community Blog.