Segment
The Segment family — 7 operations.
A segment is a saved audience — a named group of shoppers for marketing and outreach. A static segment is curated by hand with the add/remove member actions; a dynamic segment stores a rule (interests, loyalty tier, consent purposes, preferred locations, upcoming birthdays, purchase history) and re-materializes its membership each time you refresh it, with manual exclusions subtracted after matching.
Operations
| Operation | Kind | What it does |
|---|---|---|
| createSegment | mutation | Create a customer segment for marketing — a named group of shoppers you add members to. |
| deactivateSegment | mutation | Stage a segment — it stays editable but marked inactive. |
| doomSegment | mutation | Permanently retire a segment — its membership list dies with it. |
| reactivateSegment | mutation | Bring a staged segment back to active. |
| segment | query | Look up one customer segment. |
| segments | query | Your organization group’s customer segments, newest first. |
| updateSegment | mutation | Rename a customer segment — the label only; membership is unchanged. |