POST /v2/returns/reject¶
Description - Self Ship API to mark returns requested by the buyer as rejected. Tech visit service is mandatory to reject the returns.
Request and Response Parameters¶
☰ SHOW | HIDE
URL: https://api.flipkart.net/sellers/v2/returns/reject
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 | Mandatory | 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. |