UpdateSegment
Signature
mutation {
UpdateSegment(segmentId: ..., name: ...)
}
Retourne : Segment
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
segmentId | ID! | ✓ | — | — |
name | String! | ✓ | — | — |
description | String | — | — | |
includeNetworkDistributors | Boolean | — | Static account segment only: the distributors of each distributor network in the segment become members. Left unchanged when omitted | |
includeDistributedAccounts | Boolean | — | Static account segment only: the distributed accounts of each distributor in the segment become members. Left unchanged when omitted |
Exemple
mutation {
UpdateSegment(
segmentId: $segmentId
name: $name
) {
id
name
description
type {}
segmentType {}
targetType {}
userSegments {}
usersNumber
accountSegments {}
accountsNumber
includeNetworkDistributors
includeDistributedAccounts
updatedAt
}
}