GET /orders/labels?orderItemIds={id list}¶
Description - The Download Labels API prints integrated shipping label and invoice (optional) for packed items. The invoice is printed only if the seller opts for the auto-invoicing solution. The shipping labels and customer invoices can be printed for multiple order items. It produces a single, merged PDF, if multiple order item IDs are passed in the request parameters.
Request and Response Parameters¶
☰ SHOW | HIDE
URL: https://api.flipkart.net/sellers/v2/orders/labels?orderItemId={id1,id2,..}
Request Header Parameters
| Query Parameter | Requirement | Description |
|---|---|---|
orderItemIds |
Mandatory | Prints integrated shipping label (PDF) for
multiple orderItemIds and their sub-items |
Validations
orderItemIds: should be a valid order item ids of this seller, the label is available and input size should not exceed 100.
Possible Error Response Codes
| Error Codes | Reason for Error |
|---|---|
INVALID_REQUEST_ITEM_ID |
The item ID passed in the request does not exist |
INTERNAL_SERVER_ERROR |
An error in generating labels |
UNPROCESSABLE_ENTITY |
When the input request is huge |