CreateSegment
Signature
mutation {
CreateSegment(name: ..., type: ...)
}
Retourne : Segment
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
name | String! | ✓ | — | — |
description | String | — | — | |
type | SegmentType! | ✓ | — | — |
targetType | SegmentTargetType | — | — |
Exemple
mutation {
CreateSegment(
name: $name
type: $type
) {
# Sélectionner les champs souhaités
}
}