shipments.tracking_code_added
A shipment got a tracking code, from a purchased label, the seller's own label or a replacement. Requires read:shipments.
Headers
- Type: stringFormat: uuidwebhook
-id requiredUnique ID of the event. Retries of a delivery send the same ID, so use it to deduplicate.
- Type: integerFormat: int64webhook
-timestamp requiredWhen this delivery attempt was sent, as a Unix timestamp in seconds. Each retry sends a new timestamp.
- Type: stringwebhook
-signature requiredSpace-separated signatures, each
v1,followed by the base64 HMAC-SHA256 of{webhook-id}.{webhook-timestamp}.{body}, keyed with your webhook secret.
Body·ShipmentTrackingCodeAddedWebhookBody
- Type: ShipmentTrackingDatadatarequiredProperties: 2
The event's data. Its shape depends on the topic.
- Type: stringseller
_id requiredThe ID of the seller the event belongs to.
- Type: stringFormat: date-timetimestamprequired
When the event happened, in ISO 8601. Stable across retries; the
webhook-timestampheader is when each attempt was sent. - typeconst:shipments.tracking_code_addedrequired
The webhook topic.
- versionconst:v2required
The payload version.
Responses
- 200
Acknowledge delivery. Any 2XX status counts.
- default
Fail delivery. Non-2XX statuses and timeouts are retried.
{
"type": "shipments.tracking_code_added",
"timestamp": "2026-10-20T16:00:00.123Z",
"data": {
"shipment_id": "",
"tracking": {
"carrier": "",
"service": "",
"tracking_code": "",
"last_mile_tracking_code": ""
}
},
"version": "v2",
"seller_id": "1234567"
}