Send tracking back to your webshop

When a supplier marks an order as shipped, Dropday sends a webhook with the tracking. An integration of your own can use it to add the tracking to the order in your webshop.

What you need

An integration of your own that receives the webhook and updates your webshop, for example a small workflow in n8n or Zapier, or your own endpoint. Dropday's webshop plugins and apps don't write the tracking back themselves.

What the webhook gives your integration

When a supplier marks an order as shipped, Dropday sends a supplier_order.shipped event. In its data, your integration finds:

  • the tracking code and link in tracking_code and tracking_url, and the shipment time in shipped_at;

  • the supplier in supplier_id and supplier_name;

  • the order under order, with your webshop's order ID in order.external_id.

An order with several suppliers gives one such event per supplier shipment.

For the order status, a supplier_order.created event works the same way: Dropday sends it when an order is forwarded to a supplier, including after you approve a held order, and your integration can use it to update the order status in your webshop.

Set it up

  1. Under Settings → Webhooks, add a webhook with the URL of your integration and subscribe it to supplier_order.shipped.

  2. In your integration, use data.order.external_id from the event to find the order in your webshop, and add the tracking or fulfilment to it with data.tracking_code and data.tracking_url.

Set up order and tracking webhooks explains the webhook settings, all events with an example of the full event, and how failed deliveries are retried.