Skip to main content
Version: 3.x

externalNotificationTrigger

Trigger sending a notification with the notify plugin method. Serializes nodes provided as ids parameter and includes this data in the notification payload.

Added in Saleor 3.1.

externalNotificationTrigger(
channel: String!
input: ExternalNotificationTriggerInput!
pluginId: String
): ExternalNotificationTrigger

Arguments

channel (String!)

Channel slug. Saleor will send a notification within a provided channel. Please, make sure that necessary plugins are active.

input (ExternalNotificationTriggerInput!)

Input for External Notification Trigger.

pluginId (String)

The ID of notification plugin.

Type

ExternalNotificationTrigger

Trigger sending a notification with the notify plugin method. Serializes nodes provided as ids parameter and includes this data in the notification payload.

Added in Saleor 3.1.