> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/001_user/013_notifications/010__update_b2c_connection_notification_settings.md).

# Update B2C Connection Notification Settings

GraphQL endpoint: `/user`

Updates the email notification preferences for one of the calling user's B2C connections and returns the updated settings. Only the arguments provided are changed; omitted preferences keep their current values.

## Query

```graphql
mutation (
  $b2cConnectionId: ID!
  $b2bConnRequestReceivedEmail: Boolean
  $b2bConnRequestResponseEmail: Boolean
  $b2cConnRequestResponseEmail: Boolean
  $c2bConnRequestReceivedEmail: Boolean
  $b2cSubRequestResponseEmail: Boolean
  $companySocialNetworkStatusChangeEmail: Boolean
  $b2bFormInstanceSubmissionRequestReceivedEmail: Boolean
) {
  updateB2cConnectionNotificationSettings (
    b2cConnectionId: $b2cConnectionId
    b2bConnRequestReceivedEmail: $b2bConnRequestReceivedEmail
    b2bConnRequestResponseEmail: $b2bConnRequestResponseEmail
    b2cConnRequestResponseEmail: $b2cConnRequestResponseEmail
    c2bConnRequestReceivedEmail: $c2bConnRequestReceivedEmail
    b2cSubRequestResponseEmail: $b2cSubRequestResponseEmail
    companySocialNetworkStatusChangeEmail: $companySocialNetworkStatusChangeEmail
    b2bFormInstanceSubmissionRequestReceivedEmail: $b2bFormInstanceSubmissionRequestReceivedEmail
  ) {
    id
    b2bConnRequestReceivedEmail
    b2bConnRequestResponseEmail
    b2cConnRequestResponseEmail
    c2bConnRequestReceivedEmail
    b2cSubRequestResponseEmail
    companySocialNetworkStatusChangeEmail
    b2bFormInstanceSubmissionRequestReceivedEmail
  }
}

```

## Variables

```json
{
  "b2bConnRequestReceivedEmail": false,
  "b2bConnRequestResponseEmail": false,
  "b2bFormInstanceSubmissionRequestReceivedEmail": false,
  "b2cConnRequestResponseEmail": false,
  "b2cConnectionId": "00000000-0000-4000-8000-000000000001",
  "b2cSubRequestResponseEmail": false,
  "c2bConnRequestReceivedEmail": false,
  "companySocialNetworkStatusChangeEmail": false
}
```

## Response

```json
{
  "data": {
    "updateB2cConnectionNotificationSettings": {
      "b2bConnRequestReceivedEmail": false,
      "b2bConnRequestResponseEmail": false,
      "b2bFormInstanceSubmissionRequestReceivedEmail": false,
      "b2cConnRequestResponseEmail": false,
      "b2cSubRequestResponseEmail": false,
      "c2bConnRequestReceivedEmail": false,
      "companySocialNetworkStatusChangeEmail": false,
      "id": "00000000-0000-4000-8000-000000000001"
    }
  }
}
```
