label-generation
Patch a previously generated shipment label. Fields that are present in the patch will be upserted against the existing label.
patch/api/v1/deliveryexperience/shipment/{shipiumShipmentId}/carrierSelection/{carrierSelectionId}/label/{shipiumLabelId}
Request
- Base URLhttps://api.shipium.com
- AuthOAuth 2PasswordToken URLhttps://auth.shipium.com/oauth/tokenScopesdelivery-experience-service
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
shipiumShipmentIdstring required
carrierSelectionIdstring required
shipiumLabelIdstring required
Request body
Example request
{
"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
Updated carrier label.
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": "OP_900LG",
"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"
}
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.