Outbound webhooks: Orderwerks posts a signed JSON envelope to your HTTPS endpoint when orders, quotes, shipments, catalog items, customers or vendor sources change, or when an order enters a chosen workflow step. Endpoints are managed here or under Business Settings > Webhooks. See the Webhooks guide for verification, retries and the event list. A business admin switches the feature on under Business Integrations; a business admin's credentials are needed to manage endpoints.
The event types an endpoint may list in events, plus the name of the workflow event that endpoint workflow triggers and the "send webhook" workflow step action produce.
Security
(ApiKey and ApiSecret) or (UserGuid and UserToken and SupplierGuid)
- Mock serverhttps://docs.orderwerks.com/_mock/openapi/v1/webhook-events
- Productionhttps://owapi.orderwerks.com/v1/webhook-events
curl -i -X GET \
https://docs.orderwerks.com/_mock/openapi/v1/webhook-events \
-H 'x-apiKey: YOUR_API_KEY_HERE' \
-H 'x-apiSecret: YOUR_API_KEY_HERE'Response
{ "events": [ "order.created", "order.submitted", "order.state_changed", "order.deleted", "shipment.created" ], "workflow_event": "workflow.fired" }