Skip to main content

UpdateMessageBlock

Stable

Signature​

mutation {
UpdateMessageBlock(messageBlockId: ..., localizedContent: ..., enabled: ...)
}

Retourne : MessageBlock

Arguments​

NomTypeRequisDéfautDescription
messageBlockIdID!✓——
localizedContent[LocalizedStringInput]!✓——
localizedName[LocalizedStringInput]——
enabledBoolean!✓——
displayConditions[MessageBlockDisplayCondition]——
segments[ID]——
nameString——
sortIndexInt——

Exemple​

mutation {
UpdateMessageBlock(
messageBlockId: $messageBlockId
localizedContent: $localizedContent
enabled: $enabled
) {
id
content
localizedContent {}
localizedName {}
enabled
displayConditions {}
segments {}
name
sortIndex
}
}