WooCommerce Integration

WhatsApp API for WooCommerce: Automate Your Store Messaging

Connect Chat API to WooCommerce and automate WhatsApp order confirmations, shipping updates, and cart recovery messages. Works with any WordPress + WooCommerce site — EU-hosted, GDPR-compliant.

How it works

Connect WooCommerce to WhatsApp in 3 steps

1

Get your Chat API key

Sign up for Chat API, connect your WhatsApp Business number, and generate your API key.

2

Use WooCommerce webhooks or PHP hooks

Configure WooCommerce webhooks or use WordPress action hooks (woocommerce_order_status_changed, etc.) to trigger Chat API calls.

3

Send WhatsApp messages automatically

Send approved WhatsApp template messages for order events — no extra plugins required.

What you can automate

WhatsApp automations for your WooCommerce store

Order Confirmations

Send a WhatsApp message the moment an order is placed. Include order details, total, and next steps.

Shipping Notifications

Automatically notify customers when their order ships, with tracking number and link.

Abandoned Cart Recovery

Trigger a WhatsApp message when a logged-in customer abandons their cart. Average recovery: 25–35% of abandoned sessions.

Order Status Updates

Keep customers informed at every stage: processing, shipped, out for delivery, delivered.

Review Requests

Send an automated review request via WhatsApp 2–3 days after delivery. Higher response rate than email.

Re-engagement Campaigns

Send WhatsApp broadcasts to opted-in customers with special offers and win-back campaigns.

Results

What WooCommerce stores achieve with WhatsApp

98%
Open rate on WhatsApp
vs 20–25% for email
3x
Higher conversion
vs email for cart recovery
48h
Integration time
For basic order notifications
Code example

Send WooCommerce order confirmation via WhatsApp (PHP)

woocommerce-order-hook.php
// functions.php — WooCommerce order confirmation
add_action('woocommerce_order_status_processing', function($order_id) {
    $order = wc_get_order($order_id);
    $phone = $order->get_billing_phone();
    
    if ($phone) {
        $response = wp_remote_post('https://api.chat-api.eu/v1/messages', [
            'headers' => [
                'Authorization' => 'Bearer YOUR_API_KEY',
                'Content-Type'  => 'application/json',
            ],
            'body' => json_encode([
                'to'       => $phone,
                'template' => 'order_confirmation',
                'params'   => [
                    'name'         => $order->get_billing_first_name(),
                    'order_number' => $order->get_order_number(),
                    'total'        => $order->get_formatted_order_total(),
                ],
            ]),
        ]);
    }
});
FAQ

WhatsApp + WooCommerce: Frequently asked questions

Does Chat API work with WooCommerce?
Yes. Chat API's REST API integrates with WooCommerce via webhooks or PHP hooks. You can trigger WhatsApp messages on any WooCommerce event.
Do I need a plugin for WhatsApp on WooCommerce?
No plugin is required. You can use Chat API's REST API directly from your theme's functions.php or a custom plugin. Alternatively, you can connect via Zapier or Make (no code).
Is it GDPR compliant to send WhatsApp messages to WooCommerce customers?
Yes, when using Chat API (EU-hosted) and collecting proper opt-in consent. Add a WhatsApp opt-in checkbox at checkout to stay compliant.
Can I send abandoned cart reminders via WhatsApp for WooCommerce?
Yes. When a logged-in customer abandons their cart, you can trigger a WhatsApp reminder via Chat API. This requires the customer's phone number and opt-in consent.
How much does WhatsApp API for WooCommerce cost?
Chat API charges €0.058 per conversation (all messages in a 24h window). For 1,000 conversations/month, the cost is €58 — significantly cheaper than most email marketing platforms for the same reach.

Ready to add WhatsApp to your WooCommerce store?

Start free and send your first automated WhatsApp message in minutes.