"This API operation provides the shipment details for those shipments which are SUCCESS or FAILED during batch processing at the following levels:
Based on fields/data mentioned in Query Parameter, user can check shipment details for particular status at any levels.
If no values are provided in the fields mentioned in Query Parameter, the default for each will be:
Detailed status of processed shipments for the batch.
Invalid request.
The request could not be authorized.
The requested resource was not found.
The request could not be completed due to an internal server error.
{- "data": [
- {
- "batchId": "RgYgaV7mKax",
- "carrierAccountId": "GpoVzzeQ37l",
- "externalId": "1",
- "fromAddress": {
- "name": "Anupama",
- "addressLine1": "27 Watervw Dr",
- "addressLine2": "Street-257",
- "addressLine3": "Near XZ Tower",
- "cityTown": "Stamford",
- "stateProvince": "CT",
- "postalCode": 6905,
- "inductionPostalCode": "06905",
- "countryCode": "US",
- "company": "PB",
- "phone": "203-555-1213",
- "email": "anupama.k@gmail.com",
- "residential": true
}, - "labelLayout": {
- "fileFormat": "PDF",
- "printReceipt": true,
- "size": "DOC_4X6",
- "type": "SHIPPING_LABEL"
}, - "metadata": [
- {
- "name": "costAccountName",
- "value": "CostAccount-00PBPUN"
}
], - "parcel": {
- "length": 2,
- "width": 1,
- "height": 1,
- "dimUnit": "IN",
- "weightUnit": "OZ",
- "weight": 2
}, - "parcelType": "LP",
- "serviceId": "LIB",
- "shipmentId": "USPS2200589023653912",
- "parcelTrackingNumber": "9407809105156003660859",
- "shipmentIdentifier": "USPS2200589023653912",
- "shipmentOptions": {
- "addToManifest": true,
- "printCustomMessage": "Print Message 1",
- "receiptOption": "RECEIPT_WITH_INSTRUCTIONS"
}, - "specialServices": [
- {
- "fee": 0,
- "specialServiceId": "DelCon"
}
], - "stepStatus": {
- "import": "SUCCESS",
- "addressValidation": "SUCCESS",
- "rating": "SUCCESS",
- "labelGeneration": "SUCCESS",
- "voidLabel": "SUCCESS"
}, - "toAddress": {
- "name": "John Smith",
- "addressLine1": "98 Watervw Dr",
- "addressLine2": "Street-975",
- "addressLine3": "Near ABC Tower",
- "cityTown": "Shelton",
- "stateProvince": "CT",
- "postalCode": 6905,
- "countryCode": "US",
- "company": "PB",
- "phone": "203-555-1213",
- "email": "anupama.kr@gmail.com",
- "residential": true
}
}
], - "pageInfo": {
- "page": 1,
- "pages": 1,
- "total": 2
}
}