Webhooks
Inbound endpoints for AWS SES email events and e-commerce platform events.
How webhooks work
Webhooks are inbound endpoints: external systems call them, you normally do not. They are documented here so you can understand and debug the data flowing into your account. The SES webhook keeps your deliverability data accurate by recording bounces, complaints and deliveries. The e-commerce webhook receives order, customer, checkout and product events from a connected Shopify or WooCommerce store and turns them into automation triggers, abandoned cart flows and store data for segments.
Setup is automatic
Endpoints
SES webhook (email events)
/ses-webhookReceives email delivery events from AWS SES (bounces, complaints, deliveries).
Supported event types
Bounce- Email bounced (hard/soft)Complaint- Recipient marked as spamDelivery- Email delivered successfullySend- Email sentReject- Email rejected by SES
curl -X POST "https://api.mailingplatform.net/ses-webhook" \ -H "Content-Type: application/json"
E-commerce webhook
/ecommerce-webhook/{api_key}Receives events from e-commerce platforms (Shopify, WooCommerce) and triggers automations. WooCommerce deliveries are verified via the x-wc-webhook-signature header and the topic is read from x-wc-webhook-topic; the Shopify equivalents are shown below.
Shopify headers
| Name | Type | Description |
|---|---|---|
X-Shopify-Topic | string | Event type (e.g., orders/create). |
X-Shopify-Hmac-Sha256 | string | HMAC signature for verification. |
X-Shopify-Shop-Domain | string | Shop domain. |
Supported Shopify events
Checkouts
checkouts/createcheckouts/updatecheckouts/delete
Orders
orders/create- Triggers automationorders/paidorders/fulfilled- Triggers automationorders/cancelled- Triggers automation
Customers
customers/create- Triggers automationcustomers/updatecustomers/deletecustomers/email_marketing_consent_update
Products & inventory
products/createproducts/updateproducts/deleteinventory_levels/update- Back-in-stock trigger
WooCommerce plugin relay events
Besides the nine native WooCommerce webhooks (orders, customers, products), the MailingPlatform plugin relays custom events that native webhooks do not cover. They are signed with the store's webhook secret via x-wc-webhook-signature and identified by the x-wc-webhook-topic header.
cart.updated- Cart snapshot for abandoned cart trackingcart.completed- Cart converted to an orderinventory.updated- Stock change, drives the back-in-stock triggercustomer.subscribed- Customer ticked the newsletter opt-in checkbox at checkout or registration. Creates a subscriber in the store's default list with consent metadata (timestamp, source, shop domain), honoring the account's double opt-in setting. Unsubscribed contacts are never re-activated by this event.
curl -X POST "https://api.mailingplatform.net/ecommerce-webhook/<api_key>" \ -H "Content-Type: application/json" \ -H "X-Shopify-Topic: orders/create" \ -H "X-Shopify-Hmac-Sha256: <signature>" \ -H "X-Shopify-Shop-Domain: your-store.myshopify.com"