post http://staging-apigateway.snapdeal.com/seller-api/returns/ocplus/status
This API updates the OCPlus return status. Allowed returnAction is ACCEPT for now. Multiple updates are allowed.
Request
| ParameterName | DataType | ParameterType | Requirement | Description |
|---|---|---|---|---|
| returnAction | String | body | Mandatory | It is the action on return by seller |
| rtvListCode | String | body | Mandatory | It is the RTV List code |
| packIds | List | body | Mandatory | It is a list of pack ids |
| updatedBy | String | body | Optional | Updated By |
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 |
|---|---|---|
| returnStatusUpdatesResponse | Map<String, UpdateResponse> | Map of Pack Id and UpdateResponse |
UpdateResponse :
| FieldName | DataType | Description |
|---|---|---|
| operationSuccessful | boolean | Describes whether operation Successful or not |
| errorMessage | String | Error message will be given if operationSuccessful is false otherwise it will be null. |
