Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hello,
I am subscribing to `product/update` webhook, and is it possible to configure the webhook to only fire if certain fields on the product are changed? For example, body_html?
Furthermore, is it possible to not receive any webhooks when the metafields of products are changed?
Essentially, I need to listen to only changes made to body_html, and not anything else.
Thanks!
Solved! Go to the solution
This is an accepted solution.
This is not possible. The webhook system is very basic unfortunately. You will also receive product/update webhooks when orders are placed.
You will need to code your own solution that receives all webhooks and determines if the body_html field has been changed.
This is an accepted solution.
This is not possible. The webhook system is very basic unfortunately. You will also receive product/update webhooks when orders are placed.
You will need to code your own solution that receives all webhooks and determines if the body_html field has been changed.
"How can I use webhook filters in Shopify to receive notifications only for price changes, and what is the correct format for setting up the filter? I am not familiar with webhook filters and would appreciate any guidance or resources to help me understand how to set up a webhook filter to monitor changes in product prices.
found this, but do not really get it:
To set up a webhook filter to be notified only of price changes, you need to specify the price changes you want to receive.
Here is an example of how you can do that:
With this filter, the webhook will be triggered only if the price of the product changes. If you want to monitor other changes such as title, description or inventory status, you can add additional filters specified according to your requirements.