E-commerce · Order Alerts · WhatsApp + SMS

Messaging API for e-commerce

Order confirmations, shipping updates, and delivery alerts via WhatsApp and SMS. Reduce support tickets and increase customer satisfaction with proactive messaging.

Key Features

Order confirmation on WhatsApp

Send rich order confirmations with product images, order summary, and a link to the customer's order page — all via WhatsApp.

Shipping & delivery updates

Trigger automated messages at each shipping milestone: dispatched, in transit, out for delivery, delivered. Reduce WISMO tickets dramatically.

Abandoned cart recovery

Reach customers who left without checking out via SMS or WhatsApp with a personalized reminder and direct checkout link.

Multi-channel fallback

Send via WhatsApp first; fall back to SMS automatically if the customer doesn't have WhatsApp or if delivery fails.

Code Example

// Trigger on order.shipped event
await client.whatsapp.send({
  to: order.customerPhone,
  type: 'template',
  template: {
    name: 'order_shipped',
    language: 'en_US',
    components: [{
      type: 'body',
      parameters: [
        { type: 'text', text: order.customerName },
        { type: 'text', text: order.id },
        { type: 'text', text: order.trackingUrl },
      ]
    }]
  }
})