About webhook filters

Hello, I want to filter out all variant/inventory related data from my products/update webhook. I was checking the Shopify documentation and I believe the way to do it would be to modify the payload (https://shopify.dev/docs/apps/build/webhooks/customize/modify_payloads). But I believe Gadget only supports filtering? (https://shopify.dev/docs/apps/build/webhooks/customize/filters) If that's the case, is there a way to achieve this using only the filter syntax?
Shopify
Filter your events
A guide with an overview of webhook filters, which gate what event messages a dev will receive, depending on a set of rules they have defined.
4 Replies
Chocci_Milk
Chocci_Milk7mo ago
Hello, You can pass the includedFields to the action as well. We support both. You can also remove inventory fields from the models once those are removed from the webhooks
RenanVSouza
RenanVSouzaOP7mo ago
Oh great. Thanks!
Chocci_Milk
Chocci_Milk7mo ago
No problem

Did you find this page helpful?