You can send order details from your Storelink e-commerce website directly to your server or another app using Webhooks. Whenever a customer places an order, or an order's status changes, Storelink automatically sends the order data to the server you have set up.
Note
Webhooks are a little technical. If you are not familiar with servers or APIs, please ask a developer or someone in your team for assistance.
What is a Webhook?
In general terms, a Webhook is simply a notification sent over the web, which is triggered automatically whenever a specific event occurs.
In Storelink, an event is triggered when a new order is placed or when an order's status changes, for example when you ship or cancel it. As soon as this happens, Storelink sends the order details to the Webhook URL you have provided, as an HTTP POST request with JSON data.
Set up a Webhook
You need an API endpoint on your server or third-party app that can accept POST requests with JSON data.
In your Storelink dashboard, go to Settings > Integrations. You will find the Webhooks option. Click on Connect.

This will open the Add Webhook window. Let's see what each field means.

Webhook URL
Enter the URL of your API endpoint. This is where Storelink will send the order details.
Example: https://yourdomain.com/webhooks/orders
Method and Content Type
These show how Storelink sends the data. The Method is POST and the Content Type is application/json, so make sure your endpoint accepts POST requests with a JSON body.
Events
Choose which events will trigger this webhook. Both are selected by default.
Order created | Sends the order details when a customer places a new order. |
Order status changed | Sends the order details again whenever the order's status changes, for example when you ship or cancel it. |
If you only want to hear about new orders, untick Order status changed.
Headers (optional)
Headers are extra information sent with the request. They are often used for security or authorization. Click on + Add Header to add one.
Example:
Key:
AuthorizationValue:
Bearer YOUR_SECRET_KEY
Additional Fields (optional)
You can add extra data that should be included in every request. Click on + Add Field to add one.
Example:
Field Name:
sourceField Value:
storelink
Save your Webhook
Fill in the webhook details and double check your keys to make sure there are no errors. Then click on Add Webhook.

Test your Webhook
Open the 3-dot menu next to your webhook and select Send test to check if the request reaches your server.

Tip
To test easily, you can use free tools like Webhook.site or Intercept.rest to see the data Storelink sends.
If the test works, congrats! Your webhook is now active. From now on, Storelink will send the order details to your URL for every event you selected.
Storelink Webhook Integration Examples
Send a custom order email for a new order.
Update your own system when an order is shipped or cancelled.
Still need help?
Contact us