SubscribeToMailingList
Signature
mutation {
SubscribeToMailingList(email: ..., accountId: ..., mailingListId: ...)
}
Retourne : UserAccountNotification!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
email | String! | ✓ | — | — |
accountId | ID! | ✓ | — | — |
mailingListId | ID! | ✓ | — | — |
filters | [MailingListFilterInput!] | — | Optional list of mailing-list filters attached to the subscription. | |
| When omitted or empty, the user is subscribed to every event of the given type. |
Exemple
mutation {
SubscribeToMailingList(
email: $email
accountId: $accountId
mailingListId: $mailingListId
) {
id
userSummary {}
account {}
type {}
userAccountNotificationFilters {}
}
}