Portfolio Ondersteunde AI's Oplossingen Taken E-mailarchief Integraties Prijzen

Aan de slag

ChatGPT

ChatGPT

Meteen beginnen →

Klaar
Claude

Claude

Directory Connector →

Klaar
Mistral

Mistral

Directory Connector →

Klaar

Dashboard Altijd beschikbaar
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 (5)

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 fire-event

Manually fire an order lifecycle event for ONE existing order — the same payload, queue and retry path as a real order transition. Two uses: (1) verify an iapi_chain end-to-end without taking a real payment, (2) reprint/redeliver orders that changed state while no subscription existed, or whose delivery failed. WARNING: deliveries are REAL (chains send real mail and print real documents) — run with dry_run=true first to see which subscriptions would fire. By default an order+event that was already delivered to a subscription is skipped (uk_dedup); force=true writes a distinct replay dedup_key so the original delivery row and audit trail are preserved. Check the outcome per subscription in the results array, and afterwards in list-deliveries.

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
fire-event order_events_fire_event
delete-subscription order_events_delete_subscription
← Back to all integrations