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
) {
id
name
description
type {}
segmentType {}
targetType {}
userSegments {}
usersNumber
accountSegments {}
accountsNumber
updatedAt
}
}