Receive RMA Items

Updated 6 months ago ​by nussi

Overview

In order to receive RMA items, you can consume the endpoint presented in this article. In order to consume it, 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 service call.

  • Have valid ID of an existing RMA

Endpoint

Example for such endpoint for TT server is:

​https://tt.api.sellercloud.com/rest/​api/Rma/{id}/Receive

For your server endpoint will be:

​​https://{your_server_id}.api.sellercloud.com/rest/​api/Rma/{id}/Receive

Request

  • Method Type: HttpPost
  • Authorization: Use Bearer Token (where 'Token' is the token received from token authentication)
  • Header info: Content-Type: application/json
  • Parameters: ID of the RMA
  • Request Body:
{
"Items": [
{
"RmaItemID": 0,
"QtyToReceive": 0,
"WarehouseID": 0,
"WarehouseBinID": 0
}
]
}

Parameter

Data Type

Description

Is Required

Item.RmaItemID

integer

ID of RMA item to receive

true

Item.QtyToReceive

integer

Qty to receive

true

Item.WarehouseID

integer

ID of the receiving warehouse

true

Item.WarehouseBinID

integer

ID of the receiving warehouse bin.

false

Response

  • If user is authenticated and receiving 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


How did we do?