Customizing your webhooks
This guide introduces the different ways in which you can customize the webhooks you receive.
Filter events
Anchor link to section titled "Filter events"Filters are made up of user-defined rules and can be applied to your webhook subscriptions.
Filters gate whether or not certain event messages are delivered, based on these rules.
Filters allow you to control how many webhooks you receive. Think of a filter as a binary gate for your webhooks.
Modify payloads
Anchor link to section titled "Modify payloads"Shopify provides you with a way to modify the payload you receive when you subscribe to webhook topics.
Payload modifications allow you to specify which fields you will receive per webhook. Think of this as a way to control what information you get.
Unlike filters, which always return the same payload, this feature enables you to specify what subset of information is most relevant to your use case from a webhook. This can be especially useful in instances where you might be most interested in only a subset of fields from very large payloads, like the orders/updated
webhook topic.
Customize your webhooks experience
Anchor link to section titled "Customize your webhooks experience"When combined, filters and modified payloads are a powerful way to tailor the webhooks you receive for your use case.
When specifying filters and included fields, all fields that are in the filter must also be included in the included fields for that webhook.