Back

Search

Search

Methods

Inventory

Orders

ReturnsRefunds /GetProcessedOrAckedErrorRMAHeaders

Response: GetProcessedOrAckedErrorRMAHeadersResponse


Parameters

NameTypeDescription
requestGetProcessedOrAckedErrorRMAHeadersRequest

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": "b1f48bde-1395-4b67-a077-2b6a7dcabd00",
      "NumOrderId": 3,
      "OrderSource": "sample string 4",
      "OrderSubSource": "sample string 5",
      "ExternalReference": "sample string 6",
      "ChannelInitiated": true,
      "CreatedDate": "2018-10-03T11:12:35.1219477+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": "2018-10-03T11:12:35.1219477+01:00",
      "RMALines": [
        {
          "RMARowId": 1,
          "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 2",
          "Actioned": true,
          "ActionedDate": "2018-10-03T11:12:35.1219477+01:00",
          "Deleted": true,
          "ResendQuantity": 5,
          "NewOrderId": "87337acf-56d0-4a79-90cc-c6bcc19b9b8d",
          "Error": "sample string 7",
          "Info": "sample string 8",
          "ExchangeStockItemId": "bedbdc6a-7563-420e-8313-d7e3819aa7f6",
          "ExchangeQuantity": 10,
          "DespatchLocationId": "c1a4445d-7e3d-4351-af2d-3bfddac2ae7b",
          "AdditionalCost": 12.0,
          "OrderItemRowId": "d55f0d1c-b0d3-4654-9f69-4258bd626adf",
          "BatchInventoryId": 1,
          "ReturnLocation": "a9dce04c-afd2-4365-bf48-9397d484b75f",
          "ReturnQuantity": 15,
          "RefundAmount": 16.0,
          "ScrapQuantity": 17,
          "ReasonCategory": "sample string 18",
          "IsFreeText": true,
          "Reason": "sample string 19",
          "ReasonTag": "sample string 20",
          "SubReasonTag": "sample string 21"
        },
        {
          "RMARowId": 1,
          "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 2",
          "Actioned": true,
          "ActionedDate": "2018-10-03T11:12:35.1219477+01:00",
          "Deleted": true,
          "ResendQuantity": 5,
          "NewOrderId": "87337acf-56d0-4a79-90cc-c6bcc19b9b8d",
          "Error": "sample string 7",
          "Info": "sample string 8",
          "ExchangeStockItemId": "bedbdc6a-7563-420e-8313-d7e3819aa7f6",
          "ExchangeQuantity": 10,
          "DespatchLocationId": "c1a4445d-7e3d-4351-af2d-3bfddac2ae7b",
          "AdditionalCost": 12.0,
          "OrderItemRowId": "d55f0d1c-b0d3-4654-9f69-4258bd626adf",
          "BatchInventoryId": 1,
          "ReturnLocation": "a9dce04c-afd2-4365-bf48-9397d484b75f",
          "ReturnQuantity": 15,
          "RefundAmount": 16.0,
          "ScrapQuantity": 17,
          "ReasonCategory": "sample string 18",
          "IsFreeText": true,
          "Reason": "sample string 19",
          "ReasonTag": "sample string 20",
          "SubReasonTag": "sample string 21"
        }
      ]
    },
    {
      "RMAHeaderId": 1,
      "OrderId": "b1f48bde-1395-4b67-a077-2b6a7dcabd00",
      "NumOrderId": 3,
      "OrderSource": "sample string 4",
      "OrderSubSource": "sample string 5",
      "ExternalReference": "sample string 6",
      "ChannelInitiated": true,
      "CreatedDate": "2018-10-03T11:12:35.1219477+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": "2018-10-03T11:12:35.1219477+01:00",
      "RMALines": [
        {
          "RMARowId": 1,
          "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 2",
          "Actioned": true,
          "ActionedDate": "2018-10-03T11:12:35.1219477+01:00",
          "Deleted": true,
          "ResendQuantity": 5,
          "NewOrderId": "87337acf-56d0-4a79-90cc-c6bcc19b9b8d",
          "Error": "sample string 7",
          "Info": "sample string 8",
          "ExchangeStockItemId": "bedbdc6a-7563-420e-8313-d7e3819aa7f6",
          "ExchangeQuantity": 10,
          "DespatchLocationId": "c1a4445d-7e3d-4351-af2d-3bfddac2ae7b",
          "AdditionalCost": 12.0,
          "OrderItemRowId": "d55f0d1c-b0d3-4654-9f69-4258bd626adf",
          "BatchInventoryId": 1,
          "ReturnLocation": "a9dce04c-afd2-4365-bf48-9397d484b75f",
          "ReturnQuantity": 15,
          "RefundAmount": 16.0,
          "ScrapQuantity": 17,
          "ReasonCategory": "sample string 18",
          "IsFreeText": true,
          "Reason": "sample string 19",
          "ReasonTag": "sample string 20",
          "SubReasonTag": "sample string 21"
        },
        {
          "RMARowId": 1,
          "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 2",
          "Actioned": true,
          "ActionedDate": "2018-10-03T11:12:35.1219477+01:00",
          "Deleted": true,
          "ResendQuantity": 5,
          "NewOrderId": "87337acf-56d0-4a79-90cc-c6bcc19b9b8d",
          "Error": "sample string 7",
          "Info": "sample string 8",
          "ExchangeStockItemId": "bedbdc6a-7563-420e-8313-d7e3819aa7f6",
          "ExchangeQuantity": 10,
          "DespatchLocationId": "c1a4445d-7e3d-4351-af2d-3bfddac2ae7b",
          "AdditionalCost": 12.0,
          "OrderItemRowId": "d55f0d1c-b0d3-4654-9f69-4258bd626adf",
          "BatchInventoryId": 1,
          "ReturnLocation": "a9dce04c-afd2-4365-bf48-9397d484b75f",
          "ReturnQuantity": 15,
          "RefundAmount": 16.0,
          "ScrapQuantity": 17,
          "ReasonCategory": "sample string 18",
          "IsFreeText": true,
          "Reason": "sample string 19",
          "ReasonTag": "sample string 20",
          "SubReasonTag": "sample string 21"
        }
      ]
    }
  ]
}