Homepage

admin_email_notification_update_all

Last edit: Nov 10, 2026

Applies the same changes to all email notifications matching the filter in a
background job and returns the number of matched notifications. Notifications
stored in a private module directory are never matched. The job stops at the
first notification that fails validation

admin_email_notification_update_all(
  email_notification: UpdateEmailNotificationInputType!
  filter: EmailNotificationsFilterInput!
): ObjectCount

Arguments

email_notification (UpdateEmailNotificationInputType)

Attributes to change on every matched notification; trigger_condition and
delay_by are reset to their defaults unless given

filter (EmailNotificationsFilterInput)

Conditions the updated email notifications must match

Type

ObjectCount

Result of a bulk operation

Questions?

We are always happy to help with any questions you may have.

contact us