Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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": "2f84f9e4-c984-4421-8af1-22a0ff19e0d4",
      "NumOrderId": 3,
      "OrderSource": "sample string 4",
      "OrderSubSource": "sample string 5",
      "ExternalReference": "sample string 6",
      "ChannelInitiated": true,
      "CreatedDate": "2021-07-29T09:24:14.239746+01: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": "2021-07-29T09:24:14.2407496+01:00",
      "RMALines": [
        {
          "RMARowId": 1,
          "RMAHeaderId": 2,
          "Type": 0,
          "Status": {
          },
          "ExternalReference": "sample string 3",
          "CreatedDate": "2021-07-29T09:24:14.2407496+01:00",
          "Actioned": true,
          "ActionedDate": "2021-07-29T09:24:14.2407496+01:00",
          "Deleted": true,
          "ResendQuantity": 7,
          "NewOrderId": "0733d9ea-7dd7-433f-afdf-7ce768373cc9",
          "ValidationError": "sample string 10",
          "Error": "sample string 10",
          "Errors": [
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2021-07-29T09:24:14.2407496+01:00",
              "Acknowledged": true
            }
          ],
          "Info": "sample string 11",
          "ExchangeStockItemId": "351a5663-f1d7-423e-b071-3b422a2ccc3c",
          "ExchangeSKU": "sample string 13",
          "ExchangeTitle": "sample string 14",
          "ExchangeQuantity": 15,
          "DespatchLocationId": "7fcbd2dc-2631-4ccf-b718-2d30d35f7ef0",
          "AdditionalCost": 17.0,
          "OrderItemRowId": "ee867046-ecb2-49e7-933c-479aa585146b",
          "ReturnItemSKU": "sample string 19",
          "ReturnItemTitle": "sample string 20",
          "BatchInventoryId": 1,
          "ReturnLocation": "b62ec262-82e0-49e4-aaea-abaf47fa2e77",
          "ReturnQuantity": 22,
          "RefundAmount": 23.0,
          "RefundRowId": "5132fdd2-1b29-47e3-9fb7-954d19cff380",
          "ScrapQuantity": 24,
          "ReasonCategory": "sample string 25",
          "IsFreeText": true,
          "Reason": "sample string 26",
          "ReasonTag": "sample string 27",
          "SubReasonTag": "sample string 28",
          "BinrackOverride": "sample string 29"
        }
      ]
    }
  ]
}