shipments.label_generated
A shipping label was generated or regenerated for a shipment. 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·ShipmentLabelGeneratedWebhookBody
- Type: ShipmentLabelDatadatarequiredProperties: 4
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.label_generatedrequired
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.label_generated",
"timestamp": "2026-10-20T16:00:00.123Z",
"data": {
"shipment_id": "",
"reason": "generated",
"tracking": {
"carrier": "",
"service": "",
"tracking_code": "",
"last_mile_tracking_code": ""
},
"documents": {
"label_url": "",
"bundled_url": "",
"commercial_invoice_url": ""
}
},
"version": "v2",
"seller_id": "1234567"
}