## Overview

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

In order to consume the endpoint you must:

- Be authenticated user

For information on how you can authenticate, see: [Authentication](https://developer.sellercloud.com/dev-article/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​​](https://tt.api.sellercloud.com/rest/api/Rma/%7BrmaID%7D/Items)

For your server endpoint will be:

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

## Request

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

| **Parameter**    | **Data Type** | **Description**                       |
|-------------------|---------------|--------------------------------------|
| Id (in URL)      | integer       | ID of existing RMA                   |

## Response

- If user is authenticated and the request is successful, then response will be **Status Code 200 => OK** and a list of the RMA items will be returned.
- 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**.

```json
[
  {
    "ID": 0,
    "ProductID": "string",
    "ProductName": "string",
    "OriginalOrderID": 0,
    "ShippedByID": 0,
    "ShippedByName": "string",
    "QtyOrdered": 0,
    "QtyReturned": 0,
    "QtyReceived": 0,
    "ReturnReason": 0,
    "ReturnResolution": "string",
    "ReturnResolutionID": 0,
    "RefundAmount": 0,
    "ProblemDescription": "string",
    "ApprovalStatus": 0
  }
]
```
