Mutation
mutation UpdateNotificationSetting($input: UpdateNotificationSettingInput!) {
updateNotificationSetting(input: $input) {
clientMutationId
errors
notificationSetting {
emailDigest
emailFrequency
emailNotificationDelivery
id
notificationMethod
notificationPreferences {
description
key
label
pushOnly
value
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateNotificationSetting": {
"clientMutationId": "string",
"errors": [
"string"
],
"notificationSetting": {
"emailDigest": true,
"emailFrequency": "ALL",
"emailNotificationDelivery": true,
"id": "id",
"notificationMethod": "ALL",
"notificationPreferences": [
{
"description": "string",
"key": "ALLOW_AMBASSADOR_NOTIFICATION",
"label": "string",
"pushOnly": true,
"value": true
}
]
}
}
}
}Mutations
updateNotificationSetting
Update the authenticated member’s own notification settings.
MUTATION
updateNotificationSetting(input: UpdateNotificationSettingInput!): UpdateNotificationSettingPayloadArguments
input
required
Parameters for UpdateNotificationSetting
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
notificationSetting
Mutation
mutation UpdateNotificationSetting($input: UpdateNotificationSettingInput!) {
updateNotificationSetting(input: $input) {
clientMutationId
errors
notificationSetting {
emailDigest
emailFrequency
emailNotificationDelivery
id
notificationMethod
notificationPreferences {
description
key
label
pushOnly
value
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateNotificationSetting": {
"clientMutationId": "string",
"errors": [
"string"
],
"notificationSetting": {
"emailDigest": true,
"emailFrequency": "ALL",
"emailNotificationDelivery": true,
"id": "id",
"notificationMethod": "ALL",
"notificationPreferences": [
{
"description": "string",
"key": "ALLOW_AMBASSADOR_NOTIFICATION",
"label": "string",
"pushOnly": true,
"value": true
}
]
}
}
}
}