Dashboard
How it Works Documentation Quick Start PAPI — Pages & Assets MAPI — Dynamic Data Integrations SAPI — Sessions & Forms MCP Server OpenClaw Skill Tools Deploy Dashboard
Order Events

Order Events

⚡ Built-in — Platform Built-in

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.

⚡ Built-in — No Setup Required This integration is built into the WebsitePublisher platform. All endpoints are available immediately — no API key needed.

Endpoints (4)

POST create-subscription

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.

GET list-subscriptions

List outbound order-event subscriptions for this project. Signing secrets are never returned — only has_secret (boolean).

No input parameters required.

GET list-deliveries

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.

POST delete-subscription

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:

EndpointMCP 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
← Back to all integrations