This operation imports the .CSV file which includes fields required for creating ERR (Electronic Return Receipt) Bulk Shipments. The payload, which is used for shipment transactions, contains the following essential information in .CSV file:
The above-mentioned information are stored in AWS-S3 which in turn provides URL to users. When Batch is submitted, S3 returned URL along with .CSV file are uploaded, which generates BatchID. The same BatchID is used to track the status of BulkImport.
This is the request body to import ERR Bulk shipments.
ERR Bulk Shipment has been successfully imported.
Invalid request.
The request could not be authorized.
The request could not be completed due to an internal server error.
{- "name": "string",
- "groupName": "string",
- "size": "DOC_8X11",
- "type": "SHIPPING_LABEL",
- "format": "PDF",
- "carrierAccountId": "string",
- "serviceId": "string",
- "parcelType": "string",
- "specialServices": [
- {
- "inputParameters": [
- {
- "name": "INPUT_VALUE",
- "value": "100"
}
], - "specialserviceId": "string"
}
]
}
{- "batchId": "string",
- "name": "string",
- "groupName": "string",
- "status": "SUBMITTED",
- "uploadURL": "string"
}