CreateSegmentInput
Describes a new segment to create.
CreateSegmentInputFields
Free-text note about the segment.
When the segment is archived: on the hour and after startTime. Null = never archived on a schedule.
Image key, lowercase letters a-z only.
Language code the criteria use for localized card properties (e.g. en).
Name of the segment.
Criteria that pick the segment's cards: a list of JSON objects in the Segment.searchCriteria shape, with camelCase keys. A QUERY segment needs at least one; a FIXED segment takes exactly one ids item with include only. Example: [{"operator":"hasValue","propertyId":"ean","invert":false}].
Global id for the new segment: base64 of Segment:<segment id>:<segment definition id>. The segment id is new, camelCase letters and digits (e.g. summerSale); the segment definition id is the raw id of the segment definition the segment joins.
When the segment becomes active: on the hour and in the future. A start more than 2 minutes ahead creates a SCHEDULED segment. Null = active right away.
Labels for grouping and filtering segments: alphanumeric, no duplicates. Pass [] for none.
How the segment picks its cards. Can't change later.
Was this page helpful?