Back

Search

Search

Methods

Inventory

Orders

ReturnsRefunds /GetProcessedOrAckedErrorRMAHeaders

Response: GetProcessedOrAckedErrorRMAHeadersResponse



Returns a paged list of processed or acknowledged error RMA headers

Parameters

NameTypeDescription
requestGetProcessedOrAckedErrorRMAHeadersRequestThe request class for this call

HTTP Endpoint

Server /ReturnsRefunds / GetProcessedOrAckedErrorRMAHeaders

Permissions

GlobalPermissions.OrderBook.ReturnsRefunds.ReturnsExchanges.ViewReturnsExchangesNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/ReturnsRefunds/GetProcessedOrAckedErrorRMAHeaders HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

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

Response

This is an example response. Results may vary depending on your data.

{
  "Page": 1,
  "TotalHeaders": 2,
  "HeadersPerPage": 3,
  "RMAHeaders": [
    {
      "RMAHeaderId": 1,
      "OrderId": "9744a8ae-3bdb-4910-a4eb-88ee96f29123",
      "NumOrderId": 3,
      "OrderSource": "sample string 4",
      "OrderSubSource": "sample string 5",
      "ExternalReference": "sample string 6",
      "ChannelInitiated": true,
      "CreatedDate": "2019-10-09T15:11:41.8436413+01:00",
      "Status": {
        "StatusHeader": 0,
        "StatusDetail": {
          "StatusTag": "sample string 1",
          "StatusDescription": "sample string 2",
          "Actionable": true,
          "ActionDescription": "sample string 4",
          "EditableFields": [
            "sample string 1",
            "sample string 2"
          ]
        }
      },
      "Actioned": true,
      "LastActionDate": "2019-10-09T15:11:41.8436413+01:00",
      "RMALines": [
        {
          "RMARowId": 1,
          "RMAHeaderId": 2,
          "Type": 0,
          "Status": {
            "StatusHeader": 0,
            "StatusDetail": {
              "StatusTag": "sample string 1",
              "StatusDescription": "sample string 2",
              "Actionable": true,
              "ActionDescription": "sample string 4",
              "EditableFields": [
                "sample string 1",
                "sample string 2"
              ]
            }
          },
          "ExternalReference": "sample string 3",
          "CreatedDate": "2019-10-09T15:11:41.8436413+01:00",
          "Actioned": true,
          "ActionedDate": "2019-10-09T15:11:41.8436413+01:00",
          "Deleted": true,
          "ResendQuantity": 7,
          "NewOrderId": "c1833a3f-dee8-40a9-a1e8-e4147a9e5e49",
          "ValidationError": "sample string 10",
          "Error": "sample string 10",
          "Errors": [
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2019-10-09T15:11:41.8436413+01:00",
              "Acknowledged": true
            },
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2019-10-09T15:11:41.8436413+01:00",
              "Acknowledged": true
            }
          ],
          "Info": "sample string 11",
          "ExchangeStockItemId": "6a7c4475-93df-4424-80fe-1a3bc7ebf8c4",
          "ExchangeSKU": "sample string 13",
          "ExchangeTitle": "sample string 14",
          "ExchangeQuantity": 15,
          "DespatchLocationId": "ffda6870-028c-441f-9724-113710f27ca7",
          "AdditionalCost": 17.0,
          "OrderItemRowId": "f76bdb9c-9e6a-4f71-8f23-954332fbe4d5",
          "ReturnItemSKU": "sample string 19",
          "ReturnItemTitle": "sample string 20",
          "BatchInventoryId": 1,
          "ReturnLocation": "cdef0b7b-670f-457e-a358-3b530ac176e3",
          "ReturnQuantity": 22,
          "RefundAmount": 23.0,
          "RefundRowId": "93ba9699-bbfb-4903-93ed-d6d76fba89fc",
          "ScrapQuantity": 24,
          "ReasonCategory": "sample string 25",
          "IsFreeText": true,
          "Reason": "sample string 26",
          "ReasonTag": "sample string 27",
          "SubReasonTag": "sample string 28",
          "BinrackOverride": "sample string 29"
        },
        {
          "RMARowId": 1,
          "RMAHeaderId": 2,
          "Type": 0,
          "Status": {
            "StatusHeader": 0,
            "StatusDetail": {
              "StatusTag": "sample string 1",
              "StatusDescription": "sample string 2",
              "Actionable": true,
              "ActionDescription": "sample string 4",
              "EditableFields": [
                "sample string 1",
                "sample string 2"
              ]
            }
          },
          "ExternalReference": "sample string 3",
          "CreatedDate": "2019-10-09T15:11:41.8436413+01:00",
          "Actioned": true,
          "ActionedDate": "2019-10-09T15:11:41.8436413+01:00",
          "Deleted": true,
          "ResendQuantity": 7,
          "NewOrderId": "c1833a3f-dee8-40a9-a1e8-e4147a9e5e49",
          "ValidationError": "sample string 10",
          "Error": "sample string 10",
          "Errors": [
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2019-10-09T15:11:41.8436413+01:00",
              "Acknowledged": true
            },
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2019-10-09T15:11:41.8436413+01:00",
              "Acknowledged": true
            }
          ],
          "Info": "sample string 11",
          "ExchangeStockItemId": "6a7c4475-93df-4424-80fe-1a3bc7ebf8c4",
          "ExchangeSKU": "sample string 13",
          "ExchangeTitle": "sample string 14",
          "ExchangeQuantity": 15,
          "DespatchLocationId": "ffda6870-028c-441f-9724-113710f27ca7",
          "AdditionalCost": 17.0,
          "OrderItemRowId": "f76bdb9c-9e6a-4f71-8f23-954332fbe4d5",
          "ReturnItemSKU": "sample string 19",
          "ReturnItemTitle": "sample string 20",
          "BatchInventoryId": 1,
          "ReturnLocation": "cdef0b7b-670f-457e-a358-3b530ac176e3",
          "ReturnQuantity": 22,
          "RefundAmount": 23.0,
          "RefundRowId": "93ba9699-bbfb-4903-93ed-d6d76fba89fc",
          "ScrapQuantity": 24,
          "ReasonCategory": "sample string 25",
          "IsFreeText": true,
          "Reason": "sample string 26",
          "ReasonTag": "sample string 27",
          "SubReasonTag": "sample string 28",
          "BinrackOverride": "sample string 29"
        }
      ]
    },
    {
      "RMAHeaderId": 1,
      "OrderId": "9744a8ae-3bdb-4910-a4eb-88ee96f29123",
      "NumOrderId": 3,
      "OrderSource": "sample string 4",
      "OrderSubSource": "sample string 5",
      "ExternalReference": "sample string 6",
      "ChannelInitiated": true,
      "CreatedDate": "2019-10-09T15:11:41.8436413+01:00",
      "Status": {
        "StatusHeader": 0,
        "StatusDetail": {
          "StatusTag": "sample string 1",
          "StatusDescription": "sample string 2",
          "Actionable": true,
          "ActionDescription": "sample string 4",
          "EditableFields": [
            "sample string 1",
            "sample string 2"
          ]
        }
      },
      "Actioned": true,
      "LastActionDate": "2019-10-09T15:11:41.8436413+01:00",
      "RMALines": [
        {
          "RMARowId": 1,
          "RMAHeaderId": 2,
          "Type": 0,
          "Status": {
            "StatusHeader": 0,
            "StatusDetail": {
              "StatusTag": "sample string 1",
              "StatusDescription": "sample string 2",
              "Actionable": true,
              "ActionDescription": "sample string 4",
              "EditableFields": [
                "sample string 1",
                "sample string 2"
              ]
            }
          },
          "ExternalReference": "sample string 3",
          "CreatedDate": "2019-10-09T15:11:41.8436413+01:00",
          "Actioned": true,
          "ActionedDate": "2019-10-09T15:11:41.8436413+01:00",
          "Deleted": true,
          "ResendQuantity": 7,
          "NewOrderId": "c1833a3f-dee8-40a9-a1e8-e4147a9e5e49",
          "ValidationError": "sample string 10",
          "Error": "sample string 10",
          "Errors": [
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2019-10-09T15:11:41.8436413+01:00",
              "Acknowledged": true
            },
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2019-10-09T15:11:41.8436413+01:00",
              "Acknowledged": true
            }
          ],
          "Info": "sample string 11",
          "ExchangeStockItemId": "6a7c4475-93df-4424-80fe-1a3bc7ebf8c4",
          "ExchangeSKU": "sample string 13",
          "ExchangeTitle": "sample string 14",
          "ExchangeQuantity": 15,
          "DespatchLocationId": "ffda6870-028c-441f-9724-113710f27ca7",
          "AdditionalCost": 17.0,
          "OrderItemRowId": "f76bdb9c-9e6a-4f71-8f23-954332fbe4d5",
          "ReturnItemSKU": "sample string 19",
          "ReturnItemTitle": "sample string 20",
          "BatchInventoryId": 1,
          "ReturnLocation": "cdef0b7b-670f-457e-a358-3b530ac176e3",
          "ReturnQuantity": 22,
          "RefundAmount": 23.0,
          "RefundRowId": "93ba9699-bbfb-4903-93ed-d6d76fba89fc",
          "ScrapQuantity": 24,
          "ReasonCategory": "sample string 25",
          "IsFreeText": true,
          "Reason": "sample string 26",
          "ReasonTag": "sample string 27",
          "SubReasonTag": "sample string 28",
          "BinrackOverride": "sample string 29"
        },
        {
          "RMARowId": 1,
          "RMAHeaderId": 2,
          "Type": 0,
          "Status": {
            "StatusHeader": 0,
            "StatusDetail": {
              "StatusTag": "sample string 1",
              "StatusDescription": "sample string 2",
              "Actionable": true,
              "ActionDescription": "sample string 4",
              "EditableFields": [
                "sample string 1",
                "sample string 2"
              ]
            }
          },
          "ExternalReference": "sample string 3",
          "CreatedDate": "2019-10-09T15:11:41.8436413+01:00",
          "Actioned": true,
          "ActionedDate": "2019-10-09T15:11:41.8436413+01:00",
          "Deleted": true,
          "ResendQuantity": 7,
          "NewOrderId": "c1833a3f-dee8-40a9-a1e8-e4147a9e5e49",
          "ValidationError": "sample string 10",
          "Error": "sample string 10",
          "Errors": [
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2019-10-09T15:11:41.8436413+01:00",
              "Acknowledged": true
            },
            {
              "RMARowId": 1,
              "ErrorMessage": "sample string 2",
              "DateStamp": "2019-10-09T15:11:41.8436413+01:00",
              "Acknowledged": true
            }
          ],
          "Info": "sample string 11",
          "ExchangeStockItemId": "6a7c4475-93df-4424-80fe-1a3bc7ebf8c4",
          "ExchangeSKU": "sample string 13",
          "ExchangeTitle": "sample string 14",
          "ExchangeQuantity": 15,
          "DespatchLocationId": "ffda6870-028c-441f-9724-113710f27ca7",
          "AdditionalCost": 17.0,
          "OrderItemRowId": "f76bdb9c-9e6a-4f71-8f23-954332fbe4d5",
          "ReturnItemSKU": "sample string 19",
          "ReturnItemTitle": "sample string 20",
          "BatchInventoryId": 1,
          "ReturnLocation": "cdef0b7b-670f-457e-a358-3b530ac176e3",
          "ReturnQuantity": 22,
          "RefundAmount": 23.0,
          "RefundRowId": "93ba9699-bbfb-4903-93ed-d6d76fba89fc",
          "ScrapQuantity": 24,
          "ReasonCategory": "sample string 25",
          "IsFreeText": true,
          "Reason": "sample string 26",
          "ReasonTag": "sample string 27",
          "SubReasonTag": "sample string 28",
          "BinrackOverride": "sample string 29"
        }
      ]
    }
  ]
}