.. _getShipmentLabelOnly-bs: POST /v3/shipments/{shipmentIds}/labelOnly ----------------------------------------- **Description** - Download labels for the shipments in Byte-Stream format Request and Response Parameters ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: toggle .. container:: header **☰ SHOW | HIDE** **URL:** ``https://api.flipkart.net/sellers/v3/shipments/{shipmentIds}/labelOnly`` **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 per request. **Response Body Parameters** +-----------------------------------------------------------+--------------------------------+----------------------------+-------------------------------------------------------------------+ | Parameter/Attribute | Type | Content type | Description | +-----------------------------------------------------------+--------------------------------+----------------------------+-------------------------------------------------------------------+ | Label Byte-Stream | Byte-Stream | application/json | Success - label byte stream files else error. | | | | application/octet-stream | | +-----------------------------------------------------------+--------------------------------+----------------------------+-------------------------------------------------------------------+ **Possible Error Response Codes** ================================ ========================= Error Codes Reason for Error ================================ ========================= ``DEPENDENT_SYSTEM_CALL_FAILED`` Error in getting label Byte-Stream for the shipment ``INVALID_SHIPMENTS`` Invalid shipment Ids passed ``OPERATION_NOT_ALLOWED`` Shipment ids does not belong to seller ================================ ========================= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |