POST /v2/returns/approve
Description - Self Ship API to approve returns requested by the buyer with or without tech visit.
Request and Response Parameters
URL: https://api.flipkart.net/sellers/v2/returns/approve
Request Body Parameters: returns
Parameter |
Type |
Requirement |
Description |
comments |
String |
Mandatory |
comments on the rejection |
returnId |
String |
Mandatory |
Return ID corresponding to the
order |
serviceDate |
Date |
Optional |
The serviceDate for the item
that has been ordered |
service
FulfilmentId |
String |
Mandatory |
service fulfilment ID for the order
that has been ordered |
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. |