.. _returnsPickup-label: POST /v2/returns/pickup ------------------------ **Description** - Selfship API to mark item as picked up from the buyer. Request and Response Parameters ~~~~~~~~~~~~~~~~~~ .. container:: toggle .. container:: header **☰ SHOW | HIDE** **URL:** ``https://api.flipkart.net/sellers/v2/returns/pickup`` **Request Body Parameters:** ``returns`` +----------------------+-------------+--------------+--------------------------------------+ |Parameter |Type |Requirement | Description | +======================+=============+==============+======================================+ |``pickupDate`` |Date |Mandatory |The ``pickupDate`` for the item | | | | |that has been ordered | +----------------------+-------------+--------------+--------------------------------------+ |``returnId`` |String |Mandatory |Return ID corresponding to the | | | | |order | +----------------------+-------------+--------------+--------------------------------------+ |``locationId`` |String |Mandatory |location ID for the order | +----------------------+-------------+--------------+--------------------------------------+ **Response Body Parameters** +-------------------------------------+--------+---------------------------------------------+ | Parameter/Attribute | Type | Description | +=====================================+========+=============================================+ | ``returnId`` | String | Primary identifier for a specific shipment. | +-------------------------------------+--------+---------------------------------------------+ | ``processingStatus`` | String | ``SUCCESS`` or ``FAILURE`` | +-------------------------------------+--------+---------------------------------------------+ | ``errorCode`` | String | Error code for any error | +-------------------------------------+--------+---------------------------------------------+ | ``errorMessage`` | String | Error message | +-------------------------------------+--------+---------------------------------------------+ **Validations** :: returnIds: should be valid return id for this seller. Maximum 100 returns allowed per request. **Possible Error Response Codes** ================================ ========================= Error Codes Reason for Error ================================ ========================= ``DEPENDENT_SYSTEM_CALL_FAILED`` Error in marking the item as delivered for the shipment ``UNPROCESSABLE_ENTITY`` When invalid request is received i.e, when some mandatory requirement validations are failed. ================================ ========================= | `Try it out! `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |