Segments
Grouping members with dynamic and static segments, using them to target campaigns and rewards, and keeping audiences in step with CRM.
A segment is a group of members — "bought in the last 30 days", "VIP list from CRM", "lapsed members". Dynamic segments follow rules and update themselves; static segments are a fixed list you upload. Campaigns and rewards use segments to decide who sees and gets what; your CRM can use them as audiences.
For the Admin Panel side, see Creating segments, Segment conditions and Managing segments.
Who does what
Admin Panel
Dynamic segment conditions; static segment uploads; segment-based visibility and conditions on campaigns and rewards
Integration layer
Sends the data conditions depend on; syncs segment members to CRM if needed
CRM / marketing automation
Supplies lists for static segments; uses segments as audiences
Design decisions
Who defines the audience
Open Loyalty (dynamic), or CRM (static upload)
Dynamic for behaviour Open Loyalty sees (purchases, events, tier); static for decisions made elsewhere (a hand-picked VIP list, a CRM model's output).
Segment, tier or label
Segment, tier, or a member label
Tiers for the programme's levels; labels for flags your systems set directly (opt-ins, brand); segments for everything derived from behaviour.
Freshness
Real-time, or eventual
Dynamic segments recalculate every 10 minutes and after editing. Segments built only from the custom attribute conditions (Members with custom attribute, Members with custom attribute value) are live and update within seconds — so a flag your systems set becomes an audience almost at once. A rule that must react instantly to a purchase belongs in the campaign's own conditions, not in a segment.
Conditions
Many narrow segments, or a few broad ones combined in rules
A few reusable segments; combine them with campaign conditions.
Recommended flow
Sync to CRM, if needed
Read members with GET /api/{storeCode}/segment/{segment}/members (paged) to build a CRM audience, and remove members on the SegmentMembershipDropped webhook. Before changing or deleting a segment, check what uses it with GET /api/{storeCode}/segment/{segment}/association/{resourceName}.
Sequence diagram

Go-live checklist
Admin Panel
Integration layer
Validation
Key endpoints
GET /api/{storeCode}/segment— Get segments listsGET /api/{storeCode}/segment/{segment}/members— Get segment's membersGET /api/{storeCode}/segment/{segment}/association/{resourceName}— Get resources associated with segment
Webhooks: SegmentMembershipDropped
Last updated
Was this helpful?

