TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation User Notifications Update B2C Connection Notification Settings

Update B2C Connection Notification Settings

On this page

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

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

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

Response

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