You can create webhooks in Extend. The webhook will make a call based on the events (triggers) that you define on the webhook.
Add / edit Webhooks
You find Webhooks under the gear wheel in the top right corner in Extend Backend.
To edit Webhooks, click on the pen on the webhook you want to edit.
To create a new Webhook, click on the blue button 'Create Webhook'.
In this view you can then create or edit the Webhook.
The name is a public name that you add to the hook, used in the list of hooks, so you can identify the hook.
Tech contact (email):
A email to a technical contact for the webhook.
Here you add your URL to where Extend will send the webhook
Secret, here you add a secret. Extend will sign the body in the hook using SHA256 with your secret. The signed value is added in request header 'ms-signature'. The body should be verified before processing to avoid spam calls
Filter event on:
Here you can limit the hook on different warehouses. If you for example need to have a hook on availble balance, and your installation in Extend handles several warehosues. you can limit the hook to only handle balances for a specific warehouse.
Sant / Falskt.
Trigger on events:
Here you mark on which events you want the Hook to fire on.
Following triggers are available:
OrderPicked (Order is picked or delivered via direct delivery from supplier)
OrderReserved (Order is send to warehouse for picking)
OrderDeliveryDataChanged (Order data for delivery has changed)
The content in Notifications array will be different depending on the Action: