get http://staging-apigateway.snapdeal.com/seller-api/returns/completed
This API will provide all completed returns of seller in the given date range
Note
Default pageSize=10
Default pageNumber=1
Maximum page size =20
Allowed Return Mode Values are : BUYER,COURIER
Allowed FulfillmentModes are : DROPSHIP,VENDOR_SELF,ONESHIP,OCPLUS
For Buyer Returns : Search based on date range works on customerReturnInitiated date
For Courier Returns: Search based on date range works on updated date
Request
| ParameterName | DataType | ParameterType | Requirement | Description |
|---|---|---|---|---|
| fModes | String | Query | Mandatory | Comma Separated fulfillmentModes |
| returnMode | String | Query | Mandatory | returnMode describes whether buyer returns or courier returns |
| startDate | long | Query | Optional | It describes from which date (in milliseconds) we required Completed Returns |
| endDate | long | Query | Optional | It describes to which date(in milliseconds) we required Completed Returns |
| pageSize | String | Query | Optional | pageSize used for pagination |
| pageNumber | String | Query | Optional | pageNumber used for pagination |
Response
metadata :
| FieldName | DataType | Description |
|---|---|---|
| requestId | String | Unique ID for the request |
| clientId | String | Partner Id |
| responseTime | Long | Response Time |
| requestedURI | String | Requested URI |
| message | String | Error message |
payload :
| FieldName | DataType | Description |
|---|---|---|
| ReturnDataSROList | List | List of completed Returns Details |
ReturnDataSRO :
| FieldName | DataType | Description |
|---|---|---|
| productName | String | productName |
| supc | String | supc |
| skuCode | String | skuCode |
| suborderCode | String | suborderCode |
| customerReturnInitiatedOn | Date | Date on on which customer initiated the return(only for BUYER RETURNS) |
| returnInitiatedOn | Date | returnInitiatedOn |
| returnDeliveredOn | Date | returnDeliveredOn |
| fulfillmentMode | String | fulfillmentMode |
| awbNumber | String | awbNumber |
| sellingPrice | int | sellingPrice |
| paymentMode | String | paymentMode |
| orderCreatedDate | Date | orderCreatedDate |
| shippedOn | Date | shipped Date |
| rtvCode | String | rtvCode will be there for buyer returns only |
| returnReason | String | returnReason will be there for buyer returns only |
| returnAcceptedOn | Date | returnAcceptedOn |
| Status | String | Return Status |
| packageId | Integer | packageId |
| actionStatus | String | actionStatus |
