post http://staging-apigateway.snapdeal.com/seller-api/returns/buyer/status
This API updates the buyer 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 |
| subOrderCodes | List | body | Mandatory | It is a list of sub order codes |
| 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 Sub order code 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. |
