Required scopes: segments_write
Arguments
The segment’s id, or its legacyId from an earlier version of the Redo API.
The fields to change.
Replacement condition tree matching segmentConditionCatalog.conditionsJsonSchema.
The merchant-facing name of the segment.
Returns
A group of customers that campaigns and automations send to.
Dynamic segment condition tree. Null for static and persona segments.
When the member counts were last recalculated. They are not live.
When the segment was created.
The merchant’s description of who this segment is for.
Members subscribed to email marketing as of countsRefreshedAt.
The segment’s legacy Mongo ObjectId (24-char hex) from before the CockroachDB migration.
Customers in the segment as of countsRefreshedAt. Null until it has first been counted.
The merchant-facing name of the segment.
Members subscribed to SMS marketing as of countsRefreshedAt.
How membership of this segment is determined.
When the segment was last updated.
Example