This operation retrieves an existing shipping label associated with a shipment. The API uses the shipmentId returned by the original Create Shipment request. Use this API only if the original shipping label has been lost or damaged.
Key Considerations:
The shipment has been reprinted.
Invalid request.
The request could not be authorized.
The requested resource was not found.
The request could not be completed due to an internal error.
{- "correlationId": "00adf56ed852487ba9caec62b7ab2635",
- "size": "DOC_8X11",
- "type": "SHIPPING_LABEL",
- "format": "PDF",
- "fromAddress": {
- "addressLine1": "27 Waterview Dr",
- "addressLine2": "near abc street",
- "addressLine3": "near xyz street",
- "cityTown": "Stamford",
- "company": "Pitney Bowes Inc.",
- "countryCode": "US",
- "email": "john.publica@pb.com",
- "name": "Paul Wright",
- "phone": "203-555-1213",
- "postalCode": "06905-4317",
- "residential": false,
- "stateProvince": "CT"
}, - "parcel": {
- "length": 2,
- "width": 1,
- "height": 1,
- "dimUnit": "IN",
- "weightUnit": "OZ",
- "weight": 1
}, - "parcelTrackingNumber": "9471309105156000826739",
- "rate": {
- "baseCharge": 25.5,
- "carrier": "USPS",
- "currencyCode": "USD",
- "parcelType": "PKG",
- "rateTypeId": "CONTRACT_RATES",
- "serviceId": "EM",
- "specialServices": [
- {
- "fee": 88.5,
- "inputParameters": [
- {
- "name": "INPUT_VALUE",
- "value": "5000"
}
], - "specialServiceId": "Ins"
}, - {
- "fee": 0,
- "specialServiceId": "PO to Addressee"
}, - {
- "fee": 3.35,
- "inputParameters": [
- {
- "name": "INPUT_VALUE",
- "value": "12345"
}
], - "specialServiceId": "RR"
}, - {
- "fee": 0,
- "specialServiceId": "Sig"
}, - {
- "fee": 0,
- "specialServiceId": "liveanimal"
}
], - "totalCarrierCharge": 117.35,
- "destinationZone": 1
}, - "shipmentId": "USPS2200579677758143",
- "shipmentOptions": {
- "addToManifest": true,
- "printCustomMessage": "Print Message 1",
- "receiptOption": "RECEIPT_WITH_INSTRUCTIONS",
- "printDepartment": "department",
- "printInvoiceNumber": "invoicenumber",
- "printPONumber": "ponumber",
- "shipperId": "1234567890",
- "minimalAddressValidation": true,
- "billingWeight": "128.0"
}, - "toAddress": {
- "addressLine1": "27 Waterview Dr",
- "addressLine2": "near abc street",
- "addressLine3": "near xyz street",
- "cityTown": "Rochester",
- "company": "ABC Company",
- "countryCode": "US",
- "email": "rs.canid@gmail.com",
- "name": "Rufous Sirius Canid",
- "phone": "323 555-1212",
- "postalCode": "14609-7418",
- "residential": false,
- "stateProvince": "NY"
}, - "soldToAddress": {
- "addressLine1": "70 Hanlan RD",
- "addressLine2": "Suite 101",
- "addressLine3": "Near central market",
- "company": "ABC Company",
- "name": "John Doe",
- "phone": "905-555-1234",
- "email": "billing@abccompany.com",
- "residential": false,
- "cityTown": "Woodbridge",
- "stateProvince": "ON",
- "postalCode": "L4L 3P6",
- "countryCode": "CA"
}, - "additionalAddresses": [
- {
- "address": {
- "residential": false,
- "phone": "732-443-1007",
- "countryCode": "US",
- "postalCode": "08810-1411",
- "cityTown": "DAYTON",
- "name": "Warehouse Manager",
- "stateProvince": "NJ",
- "addressLine1": "2270 US HIGHWAY 130"
}, - "addressType": "BROKER"
}
]
}