Skip to main content
Anchor to SegmentCreatePayload

SegmentCreatePayload

payload

Return type for segmentCreate mutation.

•Segment

The newly created segment.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Creates a segment.

Arguments

•String!
required

The name of the segment to be created. Segment names must be unique.

•String!
required

A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers such as email_subscription_status = 'SUBSCRIBED' with this syntax.



Was this section helpful?