Marketing API สำหรับร้านค้าออนไลน์
ทริกเกอร์แคมเปญตะกร้าสินค้าที่ถูกทิ้ง ส่งอัปเดตคำสั่งซื้อ และแนะนำสินค้าแบบ personalized ผ่าน API ที่ยืดหยุ่น เชื่อมต่อกับแพลตฟอร์ม e-commerce ของคุณได้ภายในไม่กี่ชั่วโมง ไม่ใช่สัปดาห์
สิ่งที่นักพัฒนา e-commerce ได้รับ
Marketing automation แบบ API-first สำหรับ e-commerce ซิงค์ข้อมูลลูกค้า ติดตาม event ทริกเกอร์แคมเปญ และวัดผล performance ผ่าน API ที่เรียบง่ายและทรงพลัง Pre-built integration สำหรับ Shopify, WooCommerce, Magento Native SDK สำหรับแอปมือถือ เอกสารครบถ้วนและการสนับสนุน developer
เชื่อมต่อได้รวดเร็ว
เชื่อมต่อได้ภายในชั่วโมง ไม่ใช่สัปดาห์ Pre-built plugin สำหรับ Shopify, WooCommerce, Magento RESTful API สำหรับ platform ที่กำหนดเอง Mobile SDK สำหรับแอป iOS และ Android
ครอบคลุม API ครบถ้วน
API สำหรับ customer sync, event tracking, cart abandonment, order updates, product recommendations และ segmentation ทริกเกอร์แคมเปญจากทุก action ของลูกค้า
ซิงค์แบบ real-time
ซิงค์สองทางระหว่างร้านค้าและ Pushwoosh ข้อมูลลูกค้า ประวัติคำสั่งซื้อ catalog สินค้า สถานะ inventory อัปเดตตลอดเวลา ไม่ต้อง export ด้วยตนเอง
รองรับ scale ของ e-commerce
ออกแบบมาสำหรับช่วงพีคของสงกรานต์, 11.11, ลอยกระทง และเทศกาลช้อปปิ้งปลายปี ส่งข้อความนับล้าน เวลาตอบสนอง API <100ms Uptime SLA 99.9%
ความสามารถของ API สำหรับ e-commerce
ทริกเกอร์แคมเปญ ซิงค์สินค้า และติดตาม customer journey โดยตรงจากร้านค้าของคุณ ทุก feature ที่มีใน dashboard ทำงานแบบ programmatic ได้ ดูความสามารถ e-commerce ทั้งหมด
ซิงค์ข้อมูลลูกค้าแบบ real-time
สร้างและอัปเดต customer profile ผ่าน API ซิงค์ประวัติการซื้อ พฤติกรรมการเรียกดู และความชอบ แบ่งกลุ่มลูกค้าอัตโนมัติตาม RFM, product category หรือ 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" }}ติดตามทุก interaction ของลูกค้า
ส่ง event สำหรับการดูสินค้า เพิ่มลงตะกร้า ซื้อ ค้นหา และรีวิว Event จะทริกเกอร์แคมเปญอัตโนมัติและขับเคลื่อน 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" }}ทริกเกอร์แคมเปญแบบ programmatic
ส่ง transactional message ผ่าน API: ยืนยันคำสั่งซื้อ อัปเดตการจัดส่ง แจ้งเตือนการส่งมอบ ทริกเกอร์แคมเปญ marketing ตามพฤติกรรมลูกค้า
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" }}ซิงค์ catalog สินค้าของคุณ
นำเข้าข้อมูลสินค้าผ่าน API อัปเดตราคา inventory และคำอธิบาย ใช้ใน personalized recommendation และ dynamic content แสดงสถานะสินค้าแบบ real-time ในข้อความ
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"}การเชื่อมต่อสำเร็จรูปสำหรับแพลตฟอร์มของคุณ
รองรับ Shopify, WooCommerce, Magento และ platform ไทยยอดนิยมผ่าน REST API Plus plugin พร้อมใช้สำหรับ Shopify, WooCommerce และ Magento และ RESTful API สำหรับ platform ที่กำหนดเอง Native mobile SDK สำหรับการเข้าถึงหลายช่องทาง
Shopify และ Shopify Plus
ติดตั้งด้วยคลิกเดียวจาก Shopify App Store เวลาเชื่อมต่อ: 30 นาที ถึง 2 ชั่วโมง การซิงค์ข้อมูลอัตโนมัติครอบคลุมการสร้างลูกค้า, order event, cart abandonment, การดูสินค้า และการเริ่ม checkout
- Customer event: สมัครสมาชิก, login, อัปเดตโปรไฟล์
- Order event: สั่งซื้อ, จัดส่ง, คืนเงิน, ยกเลิก
- Cart event: เพิ่มลงตะกร้า, เริ่ม checkout, ทิ้งตะกร้า
- Product event: ดูสินค้า, ค้นหา, อัปเดต wishlist
ติดตั้งแอป กำหนดค่า settings และเริ่มส่ง recovery campaign ได้ในวันเดียวกัน
WooCommerce บน WordPress
Plugin พร้อมใช้จาก WordPress repository เวลาเชื่อมต่อ: 1 ถึง 2 ชั่วโมง ซิงค์ข้อมูลลูกค้า ติดตาม event และ order automation ครบพร้อมใช้งาน
- สมัครสมาชิกและ login ลูกค้าใหม่
- เพิ่มสินค้าลงตะกร้าและ cart abandonment
- สั่งซื้อ, เสร็จสิ้น, คืนเงิน
- ส่งรีวิวและคะแนน
ติดตั้ง plugin, ใส่ API key, กำหนด event trigger และ go live
Magento 2.x
ติดตั้งผ่าน Composer หรือ extension ด้วยตนเอง เวลาเชื่อมต่อ: 2 ถึง 4 ชั่วโมง รองรับ multi-store, customer segment และ order tracking
- Customer profile หลายร้านค้า
- Personalization ตาม segment
- Order status workflow
- Mapping field ข้อมูลที่กำหนดได้
ติดตั้ง extension, กำหนด API credential และ map data field กับ Pushwoosh attribute
RESTful API สำหรับ custom storefront
เชื่อมต่อ e-commerce platform ที่กำหนดเองผ่าน REST เวลาเชื่อมต่อ: 1 ถึง 5 วัน ขึ้นอยู่กับความซับซ้อน API ครอบคลุมทั้งหมดพร้อม webhook สำหรับการส่ง, การเปิดอ่าน และ conversion แบบ real-time
// 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 SDK สำหรับ iOS, Android, React Native, Flutter
Native SDK สำหรับทุก commerce app stack เวลาเชื่อมต่อ: 4 ถึง 8 ชั่วโมงต่อ platform รวม push notification, in-app message และ event tracking Android ~60%, iOS ~40% ในไทย — รองรับทุกอุปกรณ์ด้วย FCM และ APNs
// iOS: track checkout flowPushwoosh.sharedInstance().registerForPushNotifications()
PWInAppManager.shared().postEvent("checkout_started", withAttributes: [ "cart_total": 89.99, "item_count": 2 ])สิ่งที่สร้างได้ด้วย API ของเรา
ห้า implementation e-commerce จริงที่ retailer ส่งมอบด้วย Pushwoosh
การกู้คืนตะกร้าสินค้าที่ถูกทิ้ง
ลูกค้าเพิ่มสินค้าลงตะกร้าแต่ไม่ทำการซื้อ ติดตาม event ผ่าน API ตรวจจับความไม่ active ทริกเกอร์ recovery flow และวัด 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) } });}ผลลัพธ์: อัตรา cart recovery 12% และ revenue ที่กู้คืนได้ $180K ต่อไตรมาส
การแจ้งเตือนสถานะคำสั่งซื้อ
ส่งอัปเดตคำสั่งซื้ออัตโนมัติผ่าน push notification, อีเมล, WhatsApp หรือ LINE Official Account ทริกเกอร์การยืนยัน การจัดส่ง การส่งมอบ และการขอรีวิวจาก 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" }});ผลลัพธ์: อัตราการเปิดอ่านแจ้งเตือนการส่งมอบ 95% และอัตราการเขียนรีวิว 22%
คำแนะนำสินค้าแบบ personalized
ติดตามพฤติกรรมการเรียกดูผ่าน API รับคำแนะนำจาก engine ของคุณ และส่ง personalized email หรือ push message พร้อมวัด 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 })) }});ผลลัพธ์: อัตราคลิก 18% และ conversion 8% จากคำแนะนำสินค้า
การแจ้งเตือนเมื่อสินค้ากลับมาในสต็อก
ลูกค้าขอรับแจ้งเตือนสำหรับสินค้าที่หมดสต็อก เมื่อ inventory กลับมา webhook จะทริกเกอร์การแจ้งเตือนผ่านอีเมลและ 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 } }); }});ผลลัพธ์: อัตรา conversion 35% จากการแจ้งเตือนสินค้ากลับมา
การ automate lifecycle ของลูกค้า
Welcome series, re-engagement และแคมเปญ VIP ถูกทริกเกอร์อัตโนมัติตามการสมัคร พฤติกรรม และ 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"] } });}ผลลัพธ์: LTV สูงขึ้น 40% สำหรับลูกค้าใน automated lifecycle
ดึงข้อมูลแคมเปญและ e-commerce
เข้าถึง performance ของแคมเปญ segment และสินค้าผ่าน API Stream ข้อมูลไปยัง BigQuery, Snowflake หรือ Redshift เพื่อรวมกับแหล่งข้อมูลอื่น
Campaign performance
ดึงจำนวนที่ส่ง, ส่งถึง, เปิดอ่าน, คลิก และ conversion พร้อม revenue และ ROI สำหรับทุกแคมเปญ
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
ดึงจำนวนลูกค้า, LTV เฉลี่ย, มูลค่าคำสั่งซื้อเฉลี่ย, ความถี่การซื้อ และอัตราการเลิกใช้งานต่อ 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
ติดตามการดู, อัตราเพิ่มลงตะกร้า, อัตราการซื้อ และ revenue ต่อสินค้า เพื่อกำหนด campaign targeting และ 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 } ]}ออกแบบมาเพื่อความน่าเชื่อถือของ e-commerce
ออกแบบมาสำหรับช่วงพีคของสงกรานต์, 11.11, ลอยกระทง และเทศกาลช้อปปิ้งปลายปี — ส่ง transactional message ด้วยความแม่นยำต่ำกว่าหนึ่งวินาที
Performance ต่ำกว่าหนึ่งวินาที
Percentile ที่ 95 ต่ำกว่า 200ms Event tracking ต่ำกว่า 50ms Latency สม่ำเสมอระหว่าง sales event
รองรับ traffic พีค
Event ไม่จำกัดต่อวินาที ไม่มีการ throttle ระหว่าง traffic พีค Geographic redundancy และ automatic failover
โครงสร้างพื้นฐานระดับโลก
Multi-region deployment, CDN-backed SDK delivery, ตัวเลือก data residency สำหรับ retailer ใน EU และ US
มาตรฐานความปลอดภัย e-commerce
ความปลอดภัยระดับ production สำหรับ retail โครงสร้างพื้นฐานที่สอดคล้องกับ PCI DSS, การจัดการ GDPR และการควบคุมการเข้าถึง API ที่เข้มงวด ISO 27001:2022 certified — trust signal สำหรับ enterprise e-commerce
PCI compliance
โครงสร้างพื้นฐานที่สอดคล้องกับ PCI DSS Level 1 รองรับ tokenization ไม่เก็บข้อมูลการชำระเงินฉบับเต็ม
การคุ้มครองข้อมูล
พร้อมสำหรับ GDPR และ CCPA สิทธิ์การลบข้อมูล, API export ข้อมูล และการจัดการ consent ของลูกค้า
Authentication
API key authentication, OAuth 2.0, IP whitelisting และ role-based access control Key แยกสำหรับ test และ production
ความปลอดภัยข้อมูลลูกค้า
Encryption at rest ด้วย AES-256 TLS 1.3 ระหว่างส่ง PII masking ใน log Signed webhook payload
การสนับสนุนการเชื่อมต่อ e-commerce
Plugin พร้อมใช้ คำแนะนำ API แบบกำหนดเอง และความช่วยเหลือในการ migrate ย้ายจาก Klaviyo, Mailchimp หรือ Omnisend พร้อม parallel running จนกว่าจะ cutover
-
เลือกวิธีการเชื่อมต่อ
ติดตั้งได้ด้วยคลิกเดียวสำหรับ Shopify, ตั้งค่า plugin สำหรับ WooCommerce และ Magento หรือใช้ REST API และ webhook สำหรับ storefront ที่กำหนดเอง
-
จัดการข้อมูลลูกค้า
จับคู่ attribute, segment และฟิลด์ consent จากแพลตฟอร์มของคุณกับ Pushwoosh schema โดยมีทีมวิศวกรช่วยตรวจสอบ
-
ตั้งค่า event trigger
กำหนดค่า event ของตะกร้า คำสั่งซื้อ และสินค้า ตรวจสอบด้วยแคมเปญทดสอบและยืนยันการส่ง webhook
-
ย้ายข้อมูลเก่า
นำเข้า customer profile, template แคมเปญ และประวัติการมีส่วนร่วมจาก Klaviyo, Mailchimp หรือ Omnisend
-
รันพร้อมกันแล้วค่อยโอน
ส่งผ่านทั้งสองแพลตฟอร์มเป็นเวลา 1-2 สัปดาห์ เปรียบเทียบ metric โอนทั้งหมดเมื่อยืนยัน parity แล้ว ระยะเวลาปกติ: 1-3 สัปดาห์
Docs แบบ interactive และ Postman
Live API explorer, Postman collection, OpenAPI spec และตัวอย่าง code ใน PHP, Python, Node.js และ Ruby
Integration call
Session onboarding ด้านเทคนิค คำแนะนำการพัฒนา endpoint แบบกำหนดเอง และการสนับสนุน data mapping
ชุมชน developer
Technical support 24/7 สำหรับแผนชำระเงิน, GitHub repository พร้อมตัวอย่าง และ video tutorial สำหรับทุก platform รวมถึง LINE integration
เริ่มเชื่อมต่อได้ในไม่กี่นาที
สำรวจเอกสาร e-commerce API ของเราและดูว่าง่ายแค่ไหนในการทริกเกอร์แคมเปญ ซิงค์ข้อมูล และทำให้การสื่อสารกับลูกค้าเป็นอัตโนมัติ มีแพ็กเกจฟรีให้ใช้งาน