Starting from Saleor 3.16, the
NOTIFY_USER webhook event will be deprecated. If your app uses this webhook, you should migrate to dedicated webhook events. The following is a list of webhook events that replace specific notifications. All webhook events that replace
NOTIFY_USER support subscription queries, which allow you to define the payload you want to receive for your notifications.
The table below shows sub-types of
NOTIFY_USER events (represented as the
notify_event field in the legacy payloads), their GraphQL subscription replacements, and the Saleor version in which they were or will be introduced.
To migrate to new events, you need to create new webhooks in Saleor and provide subscription queries for the events you want to receive.
Some fields that were available in the
NOTIFY_USER payload are not available in subscription payloads of the new events:
domain- the domain of the Saleor instance, can be fetched from the API using the shop query.
site_name- same as above.
logo_url- if neded, apps should handle providing the logo URL themselves.
Deprecation of the
Starting from Saleor 3.16, the externalNotificationTrigger mutation will be deprecated. Apps that send custom notifications should implement their own logic for this purpose.