Back

Search

Search

Methods

Inventory

Orders

ReturnsRefunds /AcknowledgeRMAErrors

Response: AcknowledgeRMAErrorsResponse



Acknowledges all error responses for a given RMA header

Parameters

NameTypeDescription
requestAcknowledgeRMAErrorsRequestThe request class for this call

HTTP Endpoint

Server /ReturnsRefunds / AcknowledgeRMAErrors

Permissions

GlobalPermissions.OrderBook.ReturnsRefunds.ReturnsExchanges.AcceptReturnsExchangesNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/ReturnsRefunds/AcknowledgeRMAErrors 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={
  "RMAHeaderId": 1,
  "RMARowIds": [
    1,
    2
  ]
}

Response

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

{
  "EntireRMAHeaderSetToErrorAcked": true,
  "RMAHeaderId": 1,
  "Items": [
    {
      "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-06-12T09:27:51.3951889+01:00",
      "Actioned": true,
      "ActionedDate": "2019-06-12T09:27:51.3951889+01:00",
      "Deleted": true,
      "ResendQuantity": 7,
      "NewOrderId": "38c30b51-4d3c-40b1-8237-30216b9705c5",
      "ValidationError": "sample string 10",
      "Error": "sample string 10",
      "Errors": [
        {
          "RMARowId": 1,
          "ErrorMessage": "sample string 2",
          "DateStamp": "2019-06-12T09:27:51.3951889+01:00",
          "Acknowledged": true
        },
        {
          "RMARowId": 1,
          "ErrorMessage": "sample string 2",
          "DateStamp": "2019-06-12T09:27:51.3951889+01:00",
          "Acknowledged": true
        }
      ],
      "Info": "sample string 11",
      "ExchangeStockItemId": "6670b283-06d6-4521-bdad-2202e8db96f9",
      "ExchangeSKU": "sample string 13",
      "ExchangeTitle": "sample string 14",
      "ExchangeQuantity": 15,
      "DespatchLocationId": "106675b6-a265-421c-b5b8-e2f256ed011b",
      "AdditionalCost": 17.0,
      "OrderItemRowId": "55cae85d-f019-4edc-8725-dd2764d75aa5",
      "ReturnItemSKU": "sample string 19",
      "ReturnItemTitle": "sample string 20",
      "BatchInventoryId": 1,
      "ReturnLocation": "fdbd8d47-5784-47ab-a96a-b497cb327f04",
      "ReturnQuantity": 22,
      "RefundAmount": 23.0,
      "RefundRowId": "decaa37a-cac5-4ecd-afaf-2e9a596c2429",
      "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-06-12T09:27:51.3951889+01:00",
      "Actioned": true,
      "ActionedDate": "2019-06-12T09:27:51.3951889+01:00",
      "Deleted": true,
      "ResendQuantity": 7,
      "NewOrderId": "38c30b51-4d3c-40b1-8237-30216b9705c5",
      "ValidationError": "sample string 10",
      "Error": "sample string 10",
      "Errors": [
        {
          "RMARowId": 1,
          "ErrorMessage": "sample string 2",
          "DateStamp": "2019-06-12T09:27:51.3951889+01:00",
          "Acknowledged": true
        },
        {
          "RMARowId": 1,
          "ErrorMessage": "sample string 2",
          "DateStamp": "2019-06-12T09:27:51.3951889+01:00",
          "Acknowledged": true
        }
      ],
      "Info": "sample string 11",
      "ExchangeStockItemId": "6670b283-06d6-4521-bdad-2202e8db96f9",
      "ExchangeSKU": "sample string 13",
      "ExchangeTitle": "sample string 14",
      "ExchangeQuantity": 15,
      "DespatchLocationId": "106675b6-a265-421c-b5b8-e2f256ed011b",
      "AdditionalCost": 17.0,
      "OrderItemRowId": "55cae85d-f019-4edc-8725-dd2764d75aa5",
      "ReturnItemSKU": "sample string 19",
      "ReturnItemTitle": "sample string 20",
      "BatchInventoryId": 1,
      "ReturnLocation": "fdbd8d47-5784-47ab-a96a-b497cb327f04",
      "ReturnQuantity": 22,
      "RefundAmount": 23.0,
      "RefundRowId": "decaa37a-cac5-4ecd-afaf-2e9a596c2429",
      "ScrapQuantity": 24,
      "ReasonCategory": "sample string 25",
      "IsFreeText": true,
      "Reason": "sample string 26",
      "ReasonTag": "sample string 27",
      "SubReasonTag": "sample string 28",
      "BinrackOverride": "sample string 29"
    }
  ],
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Info": [
    "sample string 1",
    "sample string 2"
  ]
}