Order Events
Fire server-side outbound events on order lifecycle changes (order.created / order.paid / order.status_changed). Deliver to a configurable HTTPS webhook (HMAC-signed, retried) or run an internal IAPI chain (e.g. generate a packing slip PDF and email it) — no open browser required. Configure once.
Endpoints (4)
Create an outbound subscription for order lifecycle events. target_type "webhook" returns a signing_secret ONCE (store it; used to verify X-WP-Signature). target_type "iapi_chain" runs an ordered list of IAPI calls server-side; step outputs thread forward via {{steps.N....}} tokens (see steps). Ready-made signature verifiers (JS + PHP) and docs: https://cdn.websitepublisher.ai/integrations/order-events-webhook-verifiers.zip
No input parameters required.
List outbound order-event subscriptions for this project. Signing secrets are never returned — only has_secret (boolean).
No input parameters required.
List delivery attempts (the audit log) for order-event subscriptions. Filter by order_id, subscription_id, status (pending/delivered/failed/skipped) or event. Shows attempt count, http_status and error for debugging. Set include_payload=true to include the frozen event payload snapshot.
No input parameters required.
Delete an order-event subscription by id.
No input parameters required.
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| create-subscription | order_events_create_subscription |
| list-subscriptions | order_events_list_subscriptions |
| list-deliveries | order_events_list_deliveries |
| delete-subscription | order_events_delete_subscription |
Website