PACKING_IN_PROGRESS to PACKED

Flipkart EasyShip orders for which required labels and invoices are ready to download, move to PACKED state from the “PACKING_IN_PROGRESS” state.

The Download Labels API prints integrated shipping label and invoice (optional) for packed shipments. 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 shipment ids. It produces a single, merged PDF, if multiple shipment IDs are passed in the request parameters.

Request - v3 APIs

GET https://api.flipkart.net/sellers/v3/shipments/{shipmentIds}/labels

Request params (v3)

Required shipmentIds - Comma separated shipment ids

Request Example (v3)

function getRequest(headers: BEARER_AUTH, ids: Array<String>) {
  return fetch(`https://api.flipkart.net/sellers/v3/shipments/${ids.join(',')}/labels`, {
    headers
  })
  .then(response => {
    // writable stream
  })
}

Response (v3)

Response Body Schema

Madia Type: pdf

Possible Error Response Codes (v3)

Error Codes Reason for Error
DEPENDENT_SYSTEM_CALL_FAILED Error in getting pdf for the shipment

Request - Dashboard APIs

GET https://seller.flipkart.com/napi/orders/downloadLabelsCreatedV2?locationId=__&sellerId=__

Request params

Required locationId & sellerId

NOTE - All available orders in PACKING_IN_PROGRESS are processed

Request Example

function getRequest(headers: COOKIE_AUTH, ids: Array<String>) {
  return fetch(`https://seller.flipkart.com/napi/orders/downloadLabelsCreatedV2?locationId=LOCbba4*****588ed9b2****c43&sellerId=ee68*****a4**c`, {
    headers
  })
  .then(response => {
    // writable stream
  })
}

Response

Response Body Schema

Madia Type: pdf
Edit this page on GitHub
Updated at Tue, Sep 6, 2022
Was this page helpful?