Marketing APIs for online stores
Trigger cart abandonment campaigns, send order updates, and personalize product recommendations through flexible APIs. Integrate with your e-commerce platform in hours, not weeks.
What e-commerce developers get
API-first marketing automation for e-commerce. Sync customer data, track events, trigger campaigns, and measure performance through simple, powerful APIs. Pre-built integrations for Shopify, WooCommerce, Magento. Native SDKs for mobile apps. Comprehensive documentation and developer support.
Fast integration
Hours to integrate, not weeks. Pre-built plugins for Shopify, WooCommerce, Magento. RESTful APIs for custom platforms. Mobile SDKs for iOS and Android apps.
Complete e-commerce API coverage
APIs for customer sync, event tracking, cart abandonment, order updates, product recommendations, and segmentation. Trigger campaigns based on any customer action.
Real-time synchronization
Bidirectional sync between your store and Pushwoosh. Customer data, order history, product catalog, inventory status. Always up-to-date, no manual exports.
Built for e-commerce scale
Handle Black Friday traffic spikes. Process millions of events. Send millions of messages. <100ms API response times. 99.9% uptime SLA.
E-commerce API capabilities
Trigger campaigns, sync products, and track customer journeys directly from your store. Every feature available in the dashboard works programmatically. See all e-commerce capabilities.
Sync customer data in real-time
Create and update customer profiles via API. Sync purchase history, browsing behavior, and preferences. Segment customers automatically based on RFM, product categories, or lifecycle stage.
POST /api/v3/customers{ "customer_id": "cust_12345", "email": "customer@example.com", "phone": "+1234567890", "attributes": { "total_orders": 15, "total_spent": 1250.00, "favorite_category": "electronics", "last_order_date": "2024-05-15" }}Track every customer interaction
Send events for product views, add to cart, purchases, searches, and reviews. Events trigger automated campaigns and power dynamic segmentation.
POST /api/v3/events{ "customer_id": "cust_12345", "event": "product_viewed", "attributes": { "product_id": "prod_789", "product_name": "Wireless Headphones", "price": 89.99, "category": "electronics", "timestamp": "2024-05-17T10:30:00Z" }}Trigger campaigns programmatically
Send transactional messages via API: order confirmations, shipping updates, delivery notifications. Trigger marketing campaigns based on customer behavior.
POST /api/v3/campaigns/trigger{ "campaign_id": "cart_abandonment_series", "customer_id": "cust_12345", "data": { "cart_items": [ { "product_name": "Wireless Headphones", "price": 89.99, "image_url": "https://..." } ], "cart_total": 89.99, "recovery_link": "https://store.com/cart/recover/abc123" }}Sync your product catalog
Import product data via API. Update prices, inventory, and descriptions. Use in personalized recommendations and dynamic content. Show real-time availability in messages.
POST /api/v3/products{ "product_id": "prod_789", "name": "Wireless Headphones", "price": 89.99, "original_price": 129.99, "in_stock": true, "stock_quantity": 47, "category": "electronics", "image_url": "https://...", "product_url": "https://store.com/products/headphones"}Pre-built integrations for your platform
Drop-in plugins for Shopify, WooCommerce, and Magento, plus RESTful APIs for any custom platform. Native mobile SDKs for cross-channel reach.
Shopify and Shopify Plus
One-click install from the Shopify App Store. Integration time: 30 minutes to 2 hours. Automatic data sync covers customer creation, order events, cart abandonment, product views, and checkout starts.
- Customer events: registration, login, profile updates
- Order events: placed, fulfilled, refunded, cancelled
- Cart events: add to cart, checkout started, cart abandoned
- Product events: view, search, wishlist updates
Install app, configure settings, and start sending recovery campaigns the same day.
WooCommerce on WordPress
Plugin available from the WordPress repository. Integration time: 1 to 2 hours. Full customer data sync, event tracking, and order automation out of the box.
- New customer registration and login
- Product added to cart and cart abandonment
- Order placed, completed, refunded
- Review submissions and ratings
Install plugin, enter API keys, configure event triggers, and go live.
Magento 2.x
Composer install or manual extension. Integration time: 2 to 4 hours. Multi-store support, customer segments, and order tracking included.
- Multi-store customer profiles
- Segment-driven personalization
- Order status workflows
- Configurable data field mapping
Install extension, configure API credentials, and map data fields to Pushwoosh attributes.
RESTful API for custom storefronts
Integrate any custom e-commerce platform via REST. Integration time: 1 to 5 days depending on complexity. Full API coverage with webhooks for real-time delivery, opens, and conversions.
// Track a custom event from any platformawait fetch("https://api.pushwoosh.com/v3/events", { method: "POST", headers: { "Authorization": `Bearer ${API_KEY}` }, body: JSON.stringify({ customer_id: customerId, event: "order_completed", attributes: orderAttributes })});Mobile SDKs for iOS, Android, React Native, Flutter
Native SDKs for every commerce app stack. Integration time: 4 to 8 hours per platform. Push notifications, in-app messages, and event tracking included.
// iOS: track checkout flowPushwoosh.sharedInstance().registerForPushNotifications()
PWInAppManager.shared().postEvent("checkout_started", withAttributes: [ "cart_total": 89.99, "item_count": 2 ])What you can build with our APIs
Five real e-commerce implementations that retailers ship with Pushwoosh.
Cart abandonment recovery
Customer adds products to cart but does not complete the purchase. Track the events via API, detect inactivity, trigger the recovery flow, and measure recovered revenue.
await pushwoosh.trackEvent(customerId, "add_to_cart", { product_id: "prod_789", product_name: "Wireless Headphones", price: 89.99, cart_total: 89.99});
if (!await orderCompleted(customerId)) { const cartItems = await getCartItems(customerId);
await pushwoosh.triggerCampaign({ campaign: "cart_abandonment_email", customer_id: customerId, data: { cart_items: cartItems, cart_total: calculateTotal(cartItems), recovery_link: generateRecoveryLink(customerId) } });}Result: 12% cart recovery rate and $180K recovered revenue per quarter.
Order status notifications
Send automated order updates via email, SMS, and WhatsApp. Trigger confirmation, shipping, delivery, and review request from a single API.
await pushwoosh.triggerCampaign({ campaign: "order_confirmation", customer_id: customerId, channels: ["email", "whatsapp"], data: { order_number: "ORD-12345", order_total: 89.99, order_items: orderItems, estimated_delivery: "May 20-22" }});
await pushwoosh.triggerCampaign({ campaign: "order_shipped", customer_id: customerId, channels: ["push", "sms"], data: { order_number: "ORD-12345", tracking_number: "1Z999AA10123456784", carrier: "UPS" }});Result: 95% delivery notification open rate and 22% review completion rate.
Personalized product recommendations
Track browsing behavior via API, get recommendations from your engine, and send personalized emails or push messages with measured engagement.
await pushwoosh.trackEvent(customerId, "product_viewed", { product_id: "prod_789", category: "electronics", price: 89.99});
const recommendations = await getRecommendations(customerId, { based_on: ["browsing_history", "purchase_history"], limit: 4});
await pushwoosh.sendEmail({ customer_id: customerId, template: "personalized_recommendations", subject: "Products you might love", data: { recommendations: recommendations.map(p => ({ name: p.name, price: p.price, image_url: p.image_url, product_url: p.url })) }});Result: 18% click-through rate and 8% conversion on recommendations.
Back-in-stock alerts
Customers request notifications for out-of-stock products. When inventory returns, the webhook triggers alerts across email and push.
await pushwoosh.createAlert({ customer_id: customerId, product_id: "prod_789", channels: ["email", "push"], created_at: new Date()});
app.post("/webhooks/product-restocked", async (req, res) => { const { product_id } = req.body; const alerts = await pushwoosh.getAlerts({ product_id });
for (const alert of alerts) { await pushwoosh.triggerCampaign({ campaign: "back_in_stock", customer_id: alert.customer_id, channels: alert.channels, data: { product_name: product.name, product_price: product.price, product_url: product.url } }); }});Result: 35% conversion rate from back-in-stock alerts.
Customer lifecycle automation
Welcome series, re-engagement, and VIP campaigns triggered automatically based on signup, behavior, and customer lifetime value.
await pushwoosh.registerCustomer({ customer_id: customerId, email: email, attributes: { signup_date: new Date(), acquisition_source: "organic" }});
await pushwoosh.addToJourney(customerId, "welcome_series");
const customerValue = await getCustomerLTV(customerId);if (customerValue > 500) { await pushwoosh.addToSegment(customerId, "vip_customers"); await pushwoosh.triggerCampaign({ campaign: "vip_welcome", customer_id: customerId, data: { vip_benefits: ["Free shipping", "Early access", "Exclusive deals"] } });}Result: 40% higher LTV for customers in automated lifecycles.
Pull campaign and e-commerce metrics
Access campaign, segment, and product performance via API. Stream data to BigQuery, Snowflake, or Redshift to combine with your other sources.
Campaign performance
Retrieve sent, delivered, opened, clicked, and conversion counts plus revenue and ROI for every campaign.
GET /api/v3/analytics/campaigns/{campaign_id}
{ "sent": 50000, "delivered": 48500, "opened": 21825, "clicked": 6557, "conversions": 784, "revenue": 68992.00, "avg_order_value": 87.99, "roi": 12.5}Customer segmentation
Pull customer counts, average LTV, average order value, purchase frequency, and churn rate per segment.
GET /api/v3/segments/{segment_id}/analytics
{ "total_customers": 15000, "avg_ltv": 245.50, "avg_order_value": 82.00, "purchase_frequency": 3.2, "churn_rate": 0.08}Product performance
Track views, add-to-cart rate, purchase rate, and revenue per product to inform campaign targeting and merchandising.
GET /api/v3/analytics/products
{ "products": [ { "product_id": "prod_789", "views": 12500, "add_to_cart_rate": 0.15, "purchase_rate": 0.08, "revenue": 89990.00 } ]}Built for e-commerce reliability
Engineered to absorb Black Friday traffic and deliver transactional messages with sub-second precision.
Sub-second performance
95th percentile under 200ms. Event tracking under 50ms. Consistent latency during sales events.
Black Friday capacity
Unlimited events per second. No throttling during peak traffic. Geographic redundancy and automatic failover.
Global infrastructure
Multi-region deployment, CDN-backed SDK delivery, data residency options for EU and US retailers.
E-commerce security standards
Production-ready security for retail. PCI DSS compliant infrastructure, GDPR and CCPA handling, and tight API access controls.
PCI compliance
PCI DSS Level 1 compliant infrastructure. Tokenization support. Never store full payment details.
Data protection
GDPR and CCPA ready. Right to deletion, data export APIs, and customer consent management.
Authentication
API key authentication, OAuth 2.0, IP whitelisting, and role-based access control. Separate keys for test and production.
Customer data security
Encryption at rest with AES-256. TLS 1.3 in transit. PII masking in logs. Signed webhook payloads.
Support for e-commerce integrations
Pre-built plugins, custom API guidance, and migration help. Move from Klaviyo, Mailchimp, or Omnisend with parallel running until cutover.
-
Choose your integration path
One-click install for Shopify, plugin setup for WooCommerce and Magento, or REST and webhooks for custom storefronts.
-
Map customer data
Match customer attributes, segments, and consent fields from your platform to the Pushwoosh schema with engineer-assisted validation.
-
Set up event triggers
Configure cart, order, and product events. Validate with test campaigns and confirm webhook deliveries.
-
Migrate historical data
Import customer profiles, campaign templates, and engagement history from Klaviyo, Mailchimp, or Omnisend.
-
Run in parallel and cut over
Send through both platforms for 1 to 2 weeks. Compare metrics. Switch fully once parity is confirmed. Typical timeline: 1 to 3 weeks.
Interactive docs and Postman
Live API explorer, Postman collections, OpenAPI spec, and code examples in PHP, Python, Node.js, and Ruby.
Integration calls
Technical onboarding sessions, custom endpoint development guidance, and data mapping support.
Developer community
24/7 technical support for paid plans, GitHub repositories with examples, and video tutorials for every platform.
Start integrating in minutes
Explore our e-commerce API documentation and see how easy it is to trigger campaigns, sync data, and automate customer communications. Free tier available.