Update B2C Subscription Topic
GraphQL endpoint: /company
Updates one of the company's B2C subscription topics; only the provided fields change. The topic name must stay unique within the company. Once a topic has subscribers its name and type are both fixed — they are what those people consented to — while the description and the per-channel flags stay editable.
Query
mutation (
$id: ID!
$name: String
$description: String
$type: B2cSubscriptionTopicType
$enableEmail: Boolean
$enableSms: Boolean
$enableVoice: Boolean
) {
updateB2cSubscriptionTopic (
id: $id
name: $name
description: $description
type: $type
enableEmail: $enableEmail
enableSms: $enableSms
enableVoice: $enableVoice
) {
id
name
description
type
enableEmail
enableSms
enableVoice
}
}
Variables
Response
Last updated