MarketingUpdated 2026-06-01
Audiences & segments
Create rule-based customer segments for targeted campaigns.
Audiences are rule-based customer groups. Instead of blasting everyone, target segments like "VIP customers who haven't ordered in 30 days".
Creating a segment
Marketing → Audiences. Define rules based on customer attributes and order history. Before saving, preview the matching customer count to see how many shoppers qualify. You can also browse the customers in a segment.
Segment endpoints
GET
/marketing/segments/listList segments.
SessionPOST
/marketing/segments/createCreate a rule-based customer segment.
SessionGET
/marketing/segments/:id/previewPreview matching customer count.
SessionGET
/marketing/segments/:id/customersPaginated customers in a segment.
SessionDELETE
/marketing/segments/delete/:idDelete a segment.
SessionCombine with auto-segments
Customer auto-segments (New, Returning, VIP) are always available. Use the segment builder for custom rules on top — like spend thresholds, order counts, or recency.
Related