v1
latestOpenAPI 3.0.12026-07-2481208369.3 KBlabel-generation
Import a batch of labels into Shipium's system that were created outside of Shipium. There must be a shipment and a carrier selection already created within Shipium's system that each label can be associated with.
post/api/v1/deliveryexperience/shipment/carrierSelection/batchLabelImport
Headers
X-DELEGATED-PARTNER-IDstring
Request body
Example request
{
"labels": [
{
"effectiveShipDateTime": "2024-10-31T10:50:11.123456Z",
"estimatedDeliveryDate": "2024-11-07T10:50:11.123456Z",
"estimatedInjectionDateTime": "2024-11-07T10:50:11.123456Z",
"labelCreationDateTime": "2024-10-30T10:50:11.123456Z",
"manifestDateTime": "2024-10-30T21:50:11.123456Z",
"carrierAccountNumber": "XYZ987654321",
"billableWeight": {
"weightUnit": "lb",
"weight": 50
},
"billableCubicVolume": {
"cubicVolumeUnit": "ft",
"cubicVolume": 0.8
},
"internationalDocuments": [
{
"documentType": "commercial_invoice",
"documentImage": {
"documentEncoding": "base64"
},
"electronicallySubmitted": true
}
],
"hazardousMaterialsDocuments": [
{
"documentType": "commercial_invoice",
"documentImage": {
"documentEncoding": "base64"
},
"electronicallySubmitted": true
}
],
"trackingInfo": {
"shippedDateTime": "2019-10-28T14:34:55.123456Z",
"deliveredDateTime": "2019-10-28T14:34:55.123456Z",
"currentStatus": {
"eventDateTime": "2019-10-28T14:34:55.123456Z"
},
"events": [
{
"eventDateTime": "2019-10-28T14:34:55.123456Z"
}
]
}
}
]
}Response
Labels imported successfully.
Example response
[
{
"cancellationDateTime": "2024-10-31T10:50:11.123456Z",
"manifestDateTime": "2024-10-30T10:50:11.123456Z",
"billableWeight": {
"weightUnit": "lb",
"weight": 50
},
"billableCubicVolume": {
"cubicVolumeUnit": "ft",
"cubicVolume": 0.8
},
"internationalDocuments": [
{
"documentType": "commercial_invoice",
"documentImage": {
"documentEncoding": "base64"
},
"electronicallySubmitted": true
}
],
"hazardousMaterialsDocuments": [
{
"documentType": "commercial_invoice",
"documentImage": {
"documentEncoding": "base64"
},
"electronicallySubmitted": true
}
],
"laneMatch": {
"laneId": "asdqwdq-qwd123ds-123asdwd-123asd",
"partnerLaneId": "custom partner provided id"
},
"trackingInfo": {
"shippedDateTime": "2019-10-28T14:34:55.123456Z",
"deliveredDateTime": "2019-10-28T14:34:55.123456Z",
"currentStatus": {
"eventDateTime": "2019-10-28T14:34:55.123456Z"
},
"events": [
{
"eventDateTime": "2019-10-28T14:34:55.123456Z"
}
]
}
}
]