ई-कॉमर्स API

ऑनलाइन स्टोर्स के लिए मार्केटिंग APIs

Cart abandonment campaigns trigger करें, order updates भेजें और personalized product recommendations दें — flexible APIs के ज़रिए। अपने e-commerce platform को घंटों में integrate करें, हफ्तों में नहीं।

ऑनलाइन स्टोर्स के लिए मार्केटिंग APIs

ई-कॉमर्स developers को क्या मिलता है

E-commerce के लिए API-first marketing automation। Customer data sync करें, events track करें, campaigns trigger करें और performance measure करें — simple, powerful APIs के ज़रिए। Shopify, WooCommerce, Magento के लिए pre-built integrations। Mobile apps के लिए native SDKs। Comprehensive documentation और developer support।

Fast integration

घंटों में integrate करें, हफ्तों में नहीं। Shopify, WooCommerce, Magento के लिए pre-built plugins। Custom platforms के लिए RESTful APIs। iOS और Android apps के लिए Mobile SDKs।

Complete e-commerce API coverage

Customer sync, event tracking, cart abandonment, order updates, product recommendations और segmentation के लिए APIs। किसी भी customer action पर campaigns trigger करें।

Real-time synchronization

अपने store और Pushwoosh के बीच bidirectional sync। Customer data, order history, product catalog, inventory status — हमेशा up-to-date, कोई manual export नहीं।

Built for e-commerce scale

Diwali sale season में भी zero downtime। Millions of events process करें। Millions of messages भेजें। <100ms API response times। 99.9% uptime SLA।

ई-कॉमर्स API की capabilities

Campaigns trigger करें, products sync करें और customer journeys अपने store से directly track करें। Dashboard में available हर feature programmatically काम करता है। सभी e-commerce capabilities देखें

Real-time में customer data sync करें

API के ज़रिए customer profiles create और update करें। Purchase history, browsing behavior और preferences sync करें। RFM, product categories या lifecycle stage के आधार पर customers को automatically segment करें।

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"
}
}

हर customer interaction track करें

Product views, add to cart, purchases, searches और reviews के events भेजें। Events automated campaigns trigger करते हैं और dynamic segmentation को power देते हैं।

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"
}
}

Campaigns programmatically trigger करें

API के ज़रिए transactional messages भेजें: order confirmations, shipping updates, delivery notifications। Customer behavior के आधार पर marketing campaigns trigger करें।

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"
}
}

अपना product catalog sync करें

API के ज़रिए product data import करें। Prices, inventory और descriptions update करें। Personalized recommendations और dynamic content में use करें। Messages में real-time availability दिखाएं।

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"
}

आपके platform के लिए ready integrations

Shopify, WooCommerce और Magento के लिए drop-in plugins, plus किसी भी custom platform के लिए RESTful APIs। Cross-channel reach के लिए native mobile SDKs।

Shopify और Shopify Plus

Shopify App Store से one-click install। Integration time: 30 minutes से 2 hours। Automatic data sync में customer creation, order events, cart abandonment, product views और 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

App install करें, settings configure करें, और उसी दिन recovery campaigns भेजना शुरू करें।

WordPress पर WooCommerce

WordPress repository से plugin available है। Integration time: 1 से 2 hours। Full customer data sync, event tracking और order automation out of the box।

  • New customer registration और login
  • Product added to cart और cart abandonment
  • Order placed, completed, refunded
  • Review submissions और ratings

Plugin install करें, API keys enter करें, event triggers configure करें, और go live हो जाएं।

Magento 2.x

Composer install या manual extension। Integration time: 2 से 4 hours। Multi-store support, customer segments और order tracking included।

  • Multi-store customer profiles
  • Segment-driven personalization
  • Order status workflows
  • Configurable data field mapping

Extension install करें, API credentials configure करें, और data fields को Pushwoosh attributes से map करें।

Custom storefronts के लिए RESTful API

REST के ज़रिए किसी भी custom e-commerce platform को integrate करें। Integration time: complexity के अनुसार 1 से 5 days। Real-time delivery, opens और conversions के लिए webhooks के साथ full API coverage।

// Track a custom event from any platform
await 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
})
});

iOS, Android, React Native, Flutter के लिए Mobile SDKs

Android-first approach: India में 95%+ users Android पर हैं। FCM integration के साथ Samsung, Redmi, Realme devices पर perfect delivery। हर commerce app stack के लिए native SDKs। Integration time: 4 से 8 hours per platform। Push notifications, in-app messages और event tracking included।

// iOS: track checkout flow
Pushwoosh.sharedInstance().registerForPushNotifications()
PWInAppManager.shared().postEvent("checkout_started",
withAttributes: [
"cart_total": 89.99,
"item_count": 2
])

हमारी APIs से क्या build कर सकते हैं

पांच real e-commerce implementations जो retailers Pushwoosh के साथ ship करते हैं।

Cart abandonment recovery

Customer products cart में add करता है लेकिन purchase complete नहीं करता। API के ज़रिए events track करें, inactivity detect करें, recovery flow trigger करें और recovered revenue measure करें।

await pushwoosh.trackEvent(customerId, "add_to_cart", {
product_id: "prod_789",
product_name: "Running Shoes",
price: 2499,
cart_total: 2499
});
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 और ₹1.5 करोड़ recovered revenue per quarter।

Order status notifications

Email, SMS और WhatsApp के ज़रिए automated order updates भेजें। UPI payment confirmation, order status और delivery updates — push, WhatsApp या email पर automatically भेजें। Single API से confirmation, shipping, delivery और review request trigger करें।

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 और 22% review completion rate।

Personalized product recommendations

API के ज़रिए browsing behavior track करें, अपने engine से recommendations लें और measured engagement के साथ personalized emails या push messages भेजें।

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 और recommendations पर 8% conversion।

Back-in-stock alerts

Customers out-of-stock products के लिए notifications request करते हैं। Inventory वापस आने पर, webhook email और push पर alerts trigger करता है।

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: Back-in-stock alerts से 35% conversion rate।

Customer lifecycle automation

Welcome series, re-engagement और VIP campaigns — signup, behavior और customer lifetime value के आधार पर automatically trigger होते हैं।

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: Automated lifecycles में customers का 40% higher LTV।

Campaign और e-commerce metrics pull करें

API के ज़रिए campaign, segment और product performance access करें। Data को BigQuery, Snowflake या Redshift में stream करें और अपने other sources के साथ combine करें।

Campaign performance

हर campaign के लिए sent, delivered, opened, clicked और conversion counts plus revenue और ROI retrieve करें।

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

Per segment customer counts, average LTV, average order value, purchase frequency और churn rate pull करें।

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

Campaign targeting और merchandising को inform करने के लिए per product views, add-to-cart rate, purchase rate और revenue track करें।

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
}
]
}

ई-कॉमर्स reliability के लिए बना

Flipkart Big Billion Days, Amazon Great Indian Festival और Diwali sale जैसे भारत के बड़े shopping events के लिए तैयार — sub-second precision के साथ transactional messages deliver करने के लिए engineered।

<100ms
Global average API response time
500K/sec
Peak पर API requests handle
99.9%
सभी regions में Uptime SLA
<30s
Order status update delivery
Growth statistics chart

Sub-second performance

95th percentile under 200ms। Event tracking under 50ms। Sales events के दौरान consistent latency।

Peak traffic capacity

Unlimited events per second। Peak traffic के दौरान कोई throttling नहीं। Geographic redundancy और automatic failover।

Global infrastructure

Multi-region deployment, CDN-backed SDK delivery, EU और US retailers के लिए data residency options।

ई-कॉमर्स security standards

Retail के लिए production-ready security। PCI DSS compliant infrastructure, GDPR और data protection handling, और tight API access controls। ISO 27001:2022 certified — enterprise e-commerce के लिए trust signal।

PCI compliance

PCI DSS Level 1 compliant infrastructure। Tokenization support। Full payment details कभी store नहीं होते।

Data protection

GDPR और CCPA ready। Right to deletion, data export APIs और customer consent management।

Authentication

API key authentication, OAuth 2.0, IP whitelisting और role-based access control। Test और production के लिए separate keys।

Customer data security

AES-256 के साथ encryption at rest। Transit में TLS 1.3। Logs में PII masking। Signed webhook payloads।

ई-कॉमर्स integrations के लिए support

Pre-built plugins, custom API guidance और migration help। Klaviyo, Mailchimp या Omnisend से parallel running के साथ move करें।

  1. अपना integration path चुनें

    Shopify के लिए one-click install, WooCommerce और Magento के लिए plugin setup, या custom storefronts के लिए REST API और webhooks।

  2. Customer data map करें

    अपने platform के customer attributes, segments और consent fields को Pushwoosh schema से match करें — engineer-assisted validation के साथ।

  3. Event triggers set up करें

    Cart, order और product events configure करें। Test campaigns से validate करें और webhook deliveries confirm करें।

  4. Historical data migrate करें

    Klaviyo, Mailchimp या Omnisend से customer profiles, campaign templates और engagement history import करें।

  5. Parallel run करें और switch करें

    1-2 हफ्ते दोनों platforms से send करें। Metrics compare करें। Parity confirm होने पर fully switch करें। Typical timeline: 1-3 हफ्ते।

Interactive docs और Postman

Live API explorer, Postman collections, OpenAPI spec और PHP, Python, Node.js और Ruby में code examples।

Integration calls

Technical onboarding sessions, custom endpoint development guidance और data mapping support।

Developer community

Paid plans के लिए 24/7 technical support, examples के साथ GitHub repositories और हर platform के लिए video tutorials।

मिनटों में integrate शुरू करें

हमारी e-commerce API documentation explore करें और देखें कितना आसान है campaigns trigger करना, data sync करना और customer communications automate करना। Free tier available है।

Play