This operation retrieves the status of an existing Batch using Batch ID. Once the Job status is completed, the URL received from Response can be used to download the shipping label in PDF format.
Here, is the status of the Batch ID.
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.
{- "batchId": "string",
- "name": "string",
- "groupName": "string",
- "status": "SUBMITTED",
- "import": {
- "success": 20,
- "failed": 10,
- "pending": 10
}, - "addressValidation": {
- "success": 20,
- "failed": 10,
- "pending": 10
}, - "rating": {
- "success": 20,
- "failed": 10,
- "pending": 10
}, - "labelGeneration": {
- "success": 20,
- "failed": 10,
- "pending": 10
}, - "voidLabel": {
- "success": 20,
- "failed": 10,
- "pending": 10
}, - "labelDetails": {
- "layout": {
- "fileFormat": "PDF",
- "size": "DOC_4X6",
- "type": "SHIPPING_LABEL"
}, - "results": [
- {
- "shipmentIdentifiers": [
- {
- "id": "64993ea9c3257d74798d4589",
- "labelOrder": 1,
- "parcelTrackingNumber": "9414809898643517754882",
- "shipmentId": "USPS2200592809609000",
- "externalId": "123456789"
}
]
}
]
}, - "totalShipmentCharge": 8.97
}