AI Features
Specific, measurable capabilities — not marketing language. Everything below is live in the API today.
ML Customer Segmentation
Behavioral clustering via rfm_clustering_v3, processing purchase frequency, recency, and spend patterns. Segments update in real time on every transaction event.
client.ai.segment({ criteria, model })Churn Prediction
Predict which customers are at risk of churning before they do. The churn_prediction model scores each customer on a 0–1 risk scale, updated continuously.
client.ai.predict({ customer_id, model: "churn_prediction" })Real-Time Personalization
Deliver personalized offers and content in real time based on a customer's current context, purchase history, and predicted preferences.
client.ai.personalize({ customer_id, context, count })Push Notification Intelligence
Optimize send time, message content, and targeting for push notifications using engagement history and behavioral signals.
client.notifications.send({ segment, optimize: true })Referral Program Automation
Identify your highest-value referrers, automate reward fulfillment, and detect referral fraud using ML-based anomaly detection.
client.referrals.analyze({ program_id })Loyalty Program Management
Full CRUD for stamp cards, points programs, and tier-based loyalty schemes. Integrates with Shopify, WooCommerce, EPOS Now, and Square.
client.programs.create({ type, config })Full endpoint reference, request/response schemas, and code examples:
API Documentation →