Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ReturnsRefunds /GetActionableRMAHeaders

Allows 150 calls per minute

Response: GetActionableRMAHeadersResponse



Returns a paged list of booked refund headers

Parameters

NameTypeDescription
requestGetActionableRMAHeadersRequestThe request class for this call

Permissions

GlobalPermissions.OrderBook.ReturnsRefunds.ReturnsExchanges.ViewReturnsExchangesNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/ReturnsRefunds/GetActionableRMAHeaders

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "Page": 1,
  "Filters": {
    "Actionable": true,
    "Type": 0,
    "Value": "sample string 1"
  }
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "Page": 1,
  "TotalHeaders": 2,
  "HeadersPerPage": 3,
  "RMAHeaders": [
    {
      "RMAHeaderId": 1,
      "OrderId": "1d8fd04f-bb55-469d-83db-3deef43ee8f1",
      "NumOrderId": 3,
      "OrderSource": "sample string 4",
      "OrderSubSource": "sample string 5",
      "ExternalReference": "sample string 6",
      "ChannelInitiated": true,
      "CreatedDate": "2023-01-10T13:49:46.8058523+00:00",
      "Status": {
        "StatusHeader": 0,
        "StatusDetail": {
          "StatusTag": "sample string 1",
          "StatusDescription": "sample string 2",
          "Actionable": true,
          "ActionDescription": "sample string 4",
          "EditableFields": [
            "sample string 1"
          ]
        }
      },
      "Actioned": true,
      "LastActionDate": "2023-01-10T13:49:46.8058523+00:00",
      "RMALines": [
        {
          "RMARowId": 1,
          "RMAHeaderId": 2,
          "Type": 0,
          "Status": {
          },
          "ExternalReference": "sample string 3",
          "CreatedDate": "2023-01-10T13:49:46.8058523+00:00",
          "Actioned": true,
          "ActionedDate": "2023-01-10T13:49:46.8058523+00:00",
          "Deleted": true,
          "ResendQuantity": 7,
          "NewOrderId": "460abb65-5488-4e9b-a0ee-095c1751f2ef",
          "ValidationError": "sample string 10",
          "Error": "sample string 10",
          "Errors": [
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2023-01-10T13:49:46.8058523+00:00",
              "Acknowledged": true
            }
          ],
          "Info": "sample string 11",
          "ExchangeStockItemId": "4d004cbe-0266-4769-b57c-97efce25e852",
          "ExchangeSKU": "sample string 13",
          "ExchangeTitle": "sample string 14",
          "ExchangeQuantity": 15,
          "DespatchLocationId": "fa8840b8-ebe6-436f-abaa-14a69d632a7c",
          "AdditionalCost": 17.0,
          "OrderItemRowId": "977f91d3-585c-4eaf-ad6f-45a1eb0b310d",
          "ReturnItemSKU": "sample string 19",
          "ReturnItemTitle": "sample string 20",
          "BatchInventoryId": 1,
          "ReturnLocation": "51125e47-51f5-49a5-b08f-7a803d550ef0",
          "ReturnQuantity": 22,
          "RefundAmount": 23.0,
          "RefundRowId": "b77ec99f-de26-4aa8-9a58-6742f9c1d03e",
          "ScrapQuantity": 24,
          "ReasonCategory": "sample string 25",
          "IsFreeText": false,
          "Reason": "sample string 26",
          "ReasonTag": "sample string 27",
          "SubReasonTag": "sample string 28",
          "BinrackOverride": "sample string 29"
        }
      ]
    }
  ]
}