Skip to main content

UpdateSegment

Stable

Signature​

mutation {
UpdateSegment(segmentId: ..., name: ...)
}

Retourne : Segment

Arguments​

NomTypeRequisDéfautDescription
segmentIdID!✓——
nameString!✓——
descriptionString——
includeNetworkDistributorsBoolean—Static account segment only: the distributors of each distributor network in the segment become members. Left unchanged when omitted
includeDistributedAccountsBoolean—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
}
}