.. _getShipmentLabelOnly-pdf: POST /v3/shipments/{shipmentIds}/labelOnly/pdf ----------------------------------------- **Description** - Download labels for the shipments in PDF format Request and Response Parameters ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: toggle .. container:: header **☰ SHOW | HIDE** **URL:** ``https://api.flipkart.net/sellers/v3/shipments/{shipmentIds}/labelOnly/pdf`` **Request Header Parameters** +-----------------+-------------+-------------------------------------------------+ | Path Parameter | Requirement | Description | +=================+=============+=================================================+ | ``shipmentIds`` | Mandatory | Comma separated list of ``shipmentIds`` | +-----------------+-------------+-------------------------------------------------+ +-----------------+-------------+-------------------------------------------------+ | Query Parameter | Requirement | Description | +=================+=============+=================================================+ | ``reprint`` | Optional |``reprint`` is true then item will not be marked | | | |as pack(If not already) | +-----------------+-------------+-------------------------------------------------+ **Validations** :: shipmentIds: should be a valid shipment ids for this seller and the label. Maximum 50 shipment ids allowed per request. **Response Body Parameters** +-----------------------------------------------------------+--------------------------------+------------------+-------------------------------------------------------------------+ | Parameter/Attribute | Type | Content type | Description | +-----------------------------------------------------------+--------------------------------+------------------+-------------------------------------------------------------------+ | Lable PDF | PDF | application/pdf | Success - label pdf files else error. | +-----------------------------------------------------------+--------------------------------+------------------+-------------------------------------------------------------------+ **Possible Error Response Codes** ================================ ========================= Error Codes Reason for Error ================================ ========================= ``DEPENDENT_SYSTEM_CALL_FAILED`` Error in getting label pdf for the shipment ``INVALID_SHIPMENTS`` Invalid shipment Ids passed ``OPERATION_NOT_ALLOWED`` Shipment ids does not belong to seller ================================ ========================= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |