Contents

Parcel tracking

Let shoppers follow their parcel inside your own storefront, and send carrier tracking events to Nucleo.

Show parcel tracking

This API is part of Nucleo Orders. If Orders is not visible in your Nucleo, ask us to enable it for your company.

Every shipment has a public tracking token — the last segment of its tracking link. GET /public/tracking/{token} returns the brand, the order, the status, the estimated delivery and the event history, with no personal data beyond the shopper's first name and destination city. See Shipment Tracking.

Send tracking events to Nucleo

Generic carrier connections receive events at POST https://api-commerce.nucleoplatform.com/api/oms/v1/webhooks/tracking/{connection}. The connection id and its webhook secret are given to you by the merchant or by Nucleo support when the carrier is connected.

Sign the exact bytes you send: X-Nucleo-Signature is the lowercase hex HMAC-SHA256 of the raw body, keyed with the webhook secret.

import { createHmac } from "node:crypto";

const body = JSON.stringify({
  events: [
    {
      tracking_number: "1Z999AA10123456784",
      status: "out_for_delivery",
      description: "Out for delivery",
      occurred_at: "2026-10-06T07:12:00+02:00",
      location: "Milano",
    },
  ],
});
const signature = createHmac("sha256", process.env.NUCLEO_WEBHOOK_SECRET).update(body).digest("hex");

await fetch(`https://api-commerce.nucleoplatform.com/api/oms/v1/webhooks/tracking/${connectionId}`, {
  method: "POST",
  headers: { "Content-Type": "application/json", "X-Nucleo-Signature": signature },
  body,
});

Events for unknown tracking numbers are ignored without error, and an event identical to one already stored is skipped, so you can safely resend after a timeout. See the webhook reference for the statuses.