Webhooks
Webhooks deliver order and shipment information to an external system when events occur. Use webhooks to keep external systems updated with shipment and tracking data after orders are processed. Your external system must support webhooks and be able to receive data on a URL endpoint.
Centrala begrepp
Event — an action in the system that fires a webhook when it occurs, such as Order created or Shipment created
Orderkanal – en anslutning mellan nShift Delivery och en extern orderkälla
Create a webhook
Create a webhook to deliver order and shipment information to an external system when a selected event occurs.
Steg
Go to >
Select
Enter a name for the webhook
Enter the URL endpoint
Select an event in Trigger
Select the order channels for the webhook
Select
Resultat
The webhook is created and appears in the Webhooks list.
Fältbeskrivningar
Fältnamn | Beskrivning |
|---|---|
Name | Identifies the webhook in the Webhooks list |
URL | The endpoint that receives the webhook payload — must use the HTTPS format |
Active | Enables or disables the webhook — enabled by default |
Event | The action that fires the webhook payload |
Order channels | The order channels the webhook applies to — all order channels are enabled by default |
Events
- Order created
Triggered when a new order is created
- Order updated
Triggered when an order is updated
- Order deleted
Triggered when an order is deleted
- Shipment created
Triggered when a shipment is created from an order
View webhook events
View webhook events to check the delivery status of payloads sent to the external system.
Steg
Go to >
Select
next to the webhookSelect Events
The Webhook events page shows the status of each event triggered by the webhook, including the response code, latest attempt, and number of attempts.
Edit a webhook
Edit a webhook to update its URL endpoint, event, or order channels.
Steg
Go to >
Select
next to the webhookSelect Edit
Update the relevant fields
Select
Delete a webhook
Delete a webhook to remove it from your account
Notera
Deleting a webhook is permanent and cannot be undone.
Steg
Go to >
Select
next to the webhookSelect Delete
Update the relevant fields
Select
Relaterade ämnen
Orderkanaler – Konfigurera och hantera anslutningar till externa system