segments_read, segments_write
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.