Update Notification Settings
On this page
GraphQL endpoint: /user
Updates the calling user's notification preferences and returns the full settings object. Only the arguments provided are changed; omitted preferences keep their current values.
Query
mutation (
$c2cConnRequestReceivedNotification: Boolean
$c2cConnRequestReceivedEmail: Boolean
$c2cConnRequestResponseNotification: Boolean
$c2cConnRequestResponseEmail: Boolean
$b2cConnRequestReceivedNotification: Boolean
$b2cConnRequestReceivedEmail: Boolean
$c2bConnRequestResponseNotification: Boolean
$c2bConnRequestResponseEmail: Boolean
$b2cSubRequestReceivedNotification: Boolean
$b2cSubRequestReceivedEmail: Boolean
$b2cFormInstanceRequestReceivedNotification: Boolean
$b2cFormInstanceRequestReceivedEmail: Boolean
) {
updateNotificationSettings (
c2cConnRequestReceivedNotification: $c2cConnRequestReceivedNotification
c2cConnRequestReceivedEmail: $c2cConnRequestReceivedEmail
c2cConnRequestResponseNotification: $c2cConnRequestResponseNotification
c2cConnRequestResponseEmail: $c2cConnRequestResponseEmail
b2cConnRequestReceivedNotification: $b2cConnRequestReceivedNotification
b2cConnRequestReceivedEmail: $b2cConnRequestReceivedEmail
c2bConnRequestResponseNotification: $c2bConnRequestResponseNotification
c2bConnRequestResponseEmail: $c2bConnRequestResponseEmail
b2cSubRequestReceivedNotification: $b2cSubRequestReceivedNotification
b2cSubRequestReceivedEmail: $b2cSubRequestReceivedEmail
b2cFormInstanceRequestReceivedNotification: $b2cFormInstanceRequestReceivedNotification
b2cFormInstanceRequestReceivedEmail: $b2cFormInstanceRequestReceivedEmail
) {
c2cConnRequestReceivedNotification
c2cConnRequestReceivedEmail
c2cConnRequestResponseNotification
c2cConnRequestResponseEmail
b2cConnRequestReceivedNotification
b2cConnRequestReceivedEmail
c2bConnRequestResponseNotification
c2bConnRequestResponseEmail
b2cSubRequestReceivedNotification
b2cSubRequestReceivedEmail
b2cFormInstanceRequestReceivedNotification
b2cFormInstanceRequestReceivedEmail
}
}
Variables
{
"b2cConnRequestReceivedEmail": false,
"b2cConnRequestReceivedNotification": false,
"b2cFormInstanceRequestReceivedEmail": false,
"b2cFormInstanceRequestReceivedNotification": false,
"b2cSubRequestReceivedEmail": false,
"b2cSubRequestReceivedNotification": false,
"c2bConnRequestResponseEmail": false,
"c2bConnRequestResponseNotification": false,
"c2cConnRequestReceivedEmail": false,
"c2cConnRequestReceivedNotification": false,
"c2cConnRequestResponseEmail": false,
"c2cConnRequestResponseNotification": false
}
Response
{
"data": {
"updateNotificationSettings": {
"b2cConnRequestReceivedEmail": false,
"b2cConnRequestReceivedNotification": false,
"b2cFormInstanceRequestReceivedEmail": false,
"b2cFormInstanceRequestReceivedNotification": false,
"b2cSubRequestReceivedEmail": false,
"b2cSubRequestReceivedNotification": false,
"c2bConnRequestResponseEmail": false,
"c2bConnRequestResponseNotification": false,
"c2cConnRequestReceivedEmail": false,
"c2cConnRequestReceivedNotification": false,
"c2cConnRequestResponseEmail": false,
"c2cConnRequestResponseNotification": false
}
}
}