Skip to main content
Required scopes: segments_read, segments_write
Dynamic segment condition tree. Null for static and persona segments.
When the member counts were last recalculated. They are not live.
required
When the segment was created.
String
The merchant’s description of who this segment is for.
Int
Members subscribed to email marketing as of countsRefreshedAt.
ID!
required
The id of this segment.
String!
required
The segment’s legacy Mongo ObjectId (24-char hex) from before the CockroachDB migration.
Int
Customers in the segment as of countsRefreshedAt. Null until it has first been counted.
String!
required
The merchant-facing name of the segment.
Int
Members subscribed to SMS marketing as of countsRefreshedAt.
required
How membership of this segment is determined.
required
When the segment was last updated.