UpdateMessageBlock
Signature
mutation {
UpdateMessageBlock(messageBlockId: ..., localizedContent: ..., enabled: ...)
}
Retourne : MessageBlock
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
messageBlockId | ID! | ✓ | — | — |
localizedContent | [LocalizedStringInput]! | ✓ | — | — |
localizedName | [LocalizedStringInput] | — | — | |
enabled | Boolean! | ✓ | — | — |
displayConditions | [MessageBlockDisplayCondition] | — | — | |
segments | [ID] | — | — | |
name | String | — | — | |
sortIndex | Int | — | — |
Exemple
mutation {
UpdateMessageBlock(
messageBlockId: $messageBlockId
localizedContent: $localizedContent
enabled: $enabled
) {
# Sélectionner les champs souhaités
}
}