Skip to main content
Developers: API and Webhooks

Setting Up and Managing Webhooks

Send Neuro data such as new orders, fulfilments and product updates to your own system automatically, and check what was sent.

Last updated 14 days ago

What it is and when to use it

A webhook tells Neuro to send data to a web address (URL) that you control whenever something happens, for example when a new order arrives or a fulfilment is created. Your own system, a warehouse, or an automation tool receives the data and acts on it, without anyone exporting or copying anything by hand.

Use webhooks when another system needs to know about Neuro data quickly and regularly. If you only need a file now and then, a report may be simpler (see "Creating and Scheduling Reports").

Webhooks have their own page in the main menu under Webhooks. Each webhook belongs to one store.

Before you start

  • You need a receiver URL: an address on your server or tool that can accept requests from Neuro. Ask your developer or integration partner for it.

  • You need permission to view and manage webhooks. If you cannot see Webhooks in the menu, ask an administrator on your account to check your role.

  • Select the right store from the store switcher in the header. The Webhooks page shows "Select a store from the header to manage its webhooks." until a store is chosen.

  • For the data each event sends, see "Webhooks: Complete Field Reference (Practical Guide)".

The Webhooks page

The list shows every webhook for the selected store:

Column

What it shows

Name

The name you gave the webhook.

URL

Where Neuro sends the data.

Method

The HTTP method, usually POST.

Event

What triggers the webhook.

Requires auth

Whether an authorisation header is sent.

Active

Whether the webhook is switched on. You can switch it on or off here.

Actions

Edit (pencil) and Delete (bin).

Use the Search webhooks… box to find a webhook.

Webhooks page with the Add Webhook button and a webhook row highlighted
The numbers match the steps below.

Steps shown in the screenshot:

  1. Click Add Webhook to create one.

  2. Each webhook shows its URL, method, event, whether it uses authorisation, its Active switch and the edit and delete icons.

Creating a webhook

  1. Go to Webhooks and click Add Webhook.

  2. Under Basic Settings, fill in the Webhook section:

    • Webhook name: a label your team will recognise, for example "Orders to ERP".

    • Trigger event: the event that fires the webhook (see "Events" below). The other fields unlock once you choose an event.

  3. Fill in the Delivery section:

    • Destination URL: your receiver URL. Use an address that starts with https://.

    • HTTP method: usually POST. GET, PUT, PATCH and DELETE are also available if your receiver needs them.

    • Send every (minutes): how often Neuro gathers matching data and sends it. The default is 5 minutes.

    • Max items per send: the most items included in one request. Neuro fills in 100 when you choose an event. The highest you can set is 150 for order, fulfilment, invoice, channel and plugin events, and 250 for product events.

  4. If your receiver needs a key or token, switch on Use authorization header and fill in:

    • Authorization header: the name of the header, for example Authorization.

    • Authorization value: the secret value. Click the eye icon to show or hide it.

  5. Optionally open Advanced Settings to add filters, behaviour options or custom headers (see below).

  6. Click Save. Neuro shows "Webhook created" and opens the webhook's page.

  7. Switch the webhook on with the Active / Inactive switch at the top of the page, or with the Active switch on the Webhooks list. New webhooks start switched off.

If Send every (minutes) is greyed out, your role does not have permission to change it and the webhook uses the default. Ask a user with the right permission, or contact Neuro Support.

Add webhook form with Webhook name, Trigger event, Destination URL, HTTP method and Save highlighted
The numbers match the steps below.

Steps shown in the screenshot:

  1. Give the webhook a name.

  2. Choose the trigger event.

  3. Enter your receiver URL.

  4. Choose the HTTP method.

  5. Click Save.

Events

Trigger event

Fires when

orders.received

A new order arrives in Neuro

orders.updated

An existing order changes

orders.on_hold

An order is put on hold

orders.excluded

An order is excluded from processing

orders.route_to_webhook

A rule routes an order to a webhook

confirmation.orders.received

An order confirmation is received

orders.fulfillment.created

A fulfilment is created for an order

orders.fulfillment.updated

A fulfilment changes, for example new tracking

products.updated

A main product changes

channels.products.updated

A channel product changes

plugins.products.updated

A plugin product changes

channels.created

A sales channel is connected

channels.updated

A sales channel's settings change

plugins.created

A plugin is connected

plugins.updated

A plugin's settings change

invoices.received

A new invoice arrives

invoices.updated

An invoice changes

For the fields sent with each event, see "Webhooks: Complete Field Reference (Practical Guide)".

Advanced Settings

Click Advanced Settings to open the optional settings. The tabs you see depend on the event.

Filters

Filters make the webhook fire only for the data you care about. This feature is available on selected plans. If you see a lock icon or an upgrade prompt, contact your account manager or Neuro Support.

For order events (orders.received, orders.updated, orders.on_hold, orders.excluded, orders.route_to_webhook):

Filter

What it does

Filter by order status

Only fire for orders in the selected statuses.

Filter by payment status

Only fire for orders in the selected payment statuses.

Include countries

Only fire for orders shipping to these countries. Use two-letter country codes, for example GB.

Exclude countries

Skip orders shipping to these countries.

Include SKUs

Only fire for orders that contain at least one of these SKUs.

Exclude SKUs

Skip orders that contain any of these SKUs.

Extract SKUs from order

Pull the listed SKUs out of the order in the webhook data.

Send only listed SKUs

Remove all other SKUs from the data, leaving only those in Include SKUs. Available once you have added an Include SKU.

For fulfilment events, Filter by fulfilment plugin fires only for fulfilments created by the selected plugins.

For confirmation.orders.received, Filter by order status fires only for the selected statuses.

To add codes or SKUs, type a value and press Enter or a comma. You can also paste a list.

Advanced Settings with the Filters, Behaviour and Custom headers tabs, the order status filter and Include countries set to GB highlighted
The numbers match the steps below.

Steps shown in the screenshot:

  1. Open Advanced Settings and use the tabs to add filters.

  2. For example, filter by an order status.

  3. Or send only orders shipping to GB.

Behaviour

Option

What it does

Mark orders as synced

After sending, marks the matching orders as synced so they are not sent again. A 2xx response from your receiver counts as success. Available for orders.received, orders.excluded, orders.route_to_webhook and both fulfilment events.

Skip plugin-bound orders

Does not fire for orders that are also being sent to a fulfilment plugin. This prevents the same order being fulfilled twice. Available for order events and switched on by default.

Custom headers

Click Add header to send extra HTTP headers with every request, for example a header your receiver uses to identify Neuro. Enter a Header key (no spaces) and a Header value. Click Add another header for more.

Activating and deactivating a webhook

  • On the Webhooks list, use the Active switch in the webhook's row.

  • On the webhook's page, use the Active / Inactive switch at the top.

The change is saved straight away and recorded in the webhook's Activities tab. Deactivate a webhook while your receiver is down for maintenance, then switch it back on afterwards.

Saved webhook page with the Active switch and the Activities tab highlighted
The numbers match the steps below.

Steps shown in the screenshot:

  1. Use the switch at the top to turn it on or off.

  2. The Activities tab shows changes made to the webhook.

Editing or deleting a webhook

  1. On the Webhooks list, click Edit (pencil) next to the webhook.

  2. Change the settings on the Settings tab and click Save. Neuro shows "Webhook updated".

To delete a webhook, click Delete (bin) on the list and confirm with Delete Webhook. Deleting cannot be undone. If you might need it again, deactivate it instead.

Viewing what was sent

Webhook Records

  1. Select the store in the header.

  2. Go to Activity Records > Webhook Records.

  3. Each row is one send attempt, with Date, Attempts, Status, Log Type and Message.

  4. Filter by Status (for example Failed), or use the search box to find records.

  5. Switch on Show All to include Info records, which are hidden by default.

  6. Click View log file (pencil) to see the request Neuro sent and the response your receiver returned.

The webhook's Activities tab

Open a webhook and click the Activities tab to see changes to the webhook itself: when it was created, updated, switched on or off, and any automatic adjustments Neuro made (see "If your receiver is slow" below). Click the eye icon on a row to see the details.

Resending data

Neuro does not have a "resend" button on a webhook. To send orders again through a webhook, change their webhook sync status:

  1. Go to Orders and click Actions > Bulk Update Sync Status.

  2. Choose Update Webhook Sync Status.

  3. Choose the Webhook (or leave it empty for all webhooks), enter or upload the orders, and choose the status to mark them as.

  4. Confirm the update.

For which status to choose and a full walkthrough, see "Resend Orders to Webhooks or Plugins via Bulk Update".

Retrying failed webhook records from Webhook Records is done by Neuro Support. If records have failed and you need them retried, contact Neuro Support with the webhook name and the dates affected.

If your receiver is slow

If your receiver takes too long to respond, Neuro automatically sends fewer items in each request. If it keeps timing out, Neuro pauses the webhook for 15 minutes and then starts sending again. These changes appear in the webhook's Activities tab, and the matching record in Webhook Records shows "Webhook request timed out. Webhook is paused. It will start sending again after 15 minutes."

Once your receiver responds normally again, Neuro resets the timeout count. If timeouts keep happening, lower Max items per send or ask your developer to make the receiver respond faster (for example by accepting the data first and processing it afterwards).

Keeping your webhooks secure

  • Always use an https:// address so the data is encrypted while it travels to your receiver.

  • Switch on Use authorization header and give your receiver a long, random value to check on every request. Reject requests that do not include it.

  • Treat the authorisation value like a password. Do not share it by email or chat, and never put it in the URL.

  • The request log in Webhook Records shows the headers Neuro sent. Only give access to activity records to people who need it, and change the authorisation value if you think it has been exposed.

  • Make your receiver ignore duplicates. The same order can be sent more than once, for example after an update or a resend.

Worked example: send new UK orders to your warehouse system

  1. Select the store in the header and go to Webhooks > Add Webhook.

  2. Webhook name: "UK orders to warehouse". Trigger event: orders.received.

  3. Destination URL: your warehouse system's https:// address. HTTP method: POST. Leave Send every (minutes) as it is and set Max items per send to 50.

  4. Switch on Use authorization header. Authorization header: Authorization. Authorization value: the key your warehouse system gave you.

  5. Open Advanced Settings > Filters and add GB to Include countries.

  6. On Behaviour, switch on Mark orders as synced so each order is only sent once, and leave Skip plugin-bound orders on.

  7. Click Save, then switch the webhook to Active.

  8. After the next send, check Activity Records > Webhook Records to confirm the status is Success.

Troubleshooting

Problem

What to check

"Select a store from the header to manage its webhooks."

Choose a store in the header store switcher.

The webhook never fires

Check it is Active, and that your filters do not exclude everything.

Records show Failed

Open the log file. Check the URL, the authorisation header and the response your receiver returned.

"The authorization header field is required when authorization is enabled."

Fill in both Authorization header and Authorization value, or switch off Use authorization header.

"Please fix the custom headers below."

Each custom header needs a key with no spaces and a value.

The value in Max items per send is rejected

Lower it to 150 or below (250 or below for product events).

Orders are sent twice

Switch on Mark orders as synced, and check Skip plugin-bound orders if you also use a fulfilment plugin.

Related articles

  • Webhooks: Complete Field Reference (Practical Guide)

  • Neuro Transaction Records Guide

  • About Stores

  • Managing Roles in Neuro