Send WhatsApp Business template messages on Medusa store events.
Production-focused WhatsApp notification plugin for Medusa v2 with event mapping, template dispatch, and admin-managed operational controls.
yarn add @sam-ael/medusa-plugin-whatsapp
plugins: [{resolve: "@sam-ael/medusa-plugin-whatsapp",options: {},},]
WHATSAPP_PHONE_NUMBER_ID=your_phone_number_idWHATSAPP_ACCESS_TOKEN=your_access_tokenWHATSAPP_API_VERSION=v25.0WHATSAPP_BUSINESS_ACCOUNT_ID=your_waba_idWHATSAPP_SEND_CONCURRENCY=2WHATSAPP_API_TIMEOUT_MS=15000WHATSAPP_LOG_RETENTION_DAYS=30
| Method | Endpoint | Description |
|---|---|---|
| Read non-secret config | ||
| Create/update non-secret config | ||
| Fetch approved WhatsApp templates | ||
| List mappings (paginated) | ||
| Create mapping | ||
| Update mapping (primary) | ||
| Deprecated compatibility endpoint | ||
| Delete mapping | ||
| List message logs (redacted payloads) | ||
| Manual/test message send |
yarn typecheckyarn lintyarn testyarn build
Smoke tests are available under .
MIT