Skip to main content

CreateSegment

Stable

Signature

mutation {
CreateSegment(name: ..., type: ...)
}

Retourne : Segment

Arguments

NomTypeRequisDéfautDescription
nameString!
descriptionString
typeSegmentType!
targetTypeSegmentTargetType

Exemple

mutation {
CreateSegment(
name: $name
type: $type
) {
id
name
description
type {}
segmentType {}
targetType {}
userSegments {}
usersNumber
accountSegments {}
accountsNumber
updatedAt
}
}