Update RMA Items

Overview

This endpoint can be used to update the existing items of an RMA.

In order to consume the endpoint you must:

  • Be authenticated user

For information on how you can authenticate, see: Authentication

As soon as you do authentication and receive a valid token, it needs to be passed to the call.

Endpoint

Example for such endpoint for TT server is:

https://tt.api.sellercloud.com/rest/api/Rma/{rmaID}/Items

For your server endpoint will be:

https://{your_server_id}.api.sellercloud.com/rest/api/Rma/{rmaID}/Items

Request

  • Method Type: HttpPut
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json

 

ParameterData TypeDescriptionIs Required
Id (in URL)integerID of existing RMAYes
ID (in Body)integerID of the RMA item that needs to be updatedYes
QtyReturnedintegerQty returnedNo
ReturnReasonintegerReturn reason

List of possible return reasons can be obtained from endpoint ‘/api/Rma/ReturnReasons’.

No
ProblemDescriptionstringProblem descriptionNo
ApprovalStatusenumApproval Status. Possible values:

  • 0 – UnDecided
  • 1 – Approved
  • 2 – Rejected
No

Response

  • If user is authenticated and the request is successful, then response will be Status Code 200 => OK
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • In case of error, response will be Status Code 500 => Internal Server Error

Was this article helpful?

Next
Get Products’ Images