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-10-09T15:11:41.8183124+01:00",
      "Actioned": true,
      "ActionedDate": "2019-10-09T15:11:41.8183124+01:00",
      "Deleted": true,
      "ResendQuantity": 7,
      "NewOrderId": "7707f793-33ac-4233-a06b-e6bf3974beea",
      "ValidationError": "sample string 10",
      "Error": "sample string 10",
      "Errors": [
        {
          "RMARowId": 1,
          "ErrorMessage": "sample string 2",
          "DateStamp": "2019-10-09T15:11:41.8183124+01:00",
          "Acknowledged": true
        },
        {
          "RMARowId": 1,
          "ErrorMessage": "sample string 2",
          "DateStamp": "2019-10-09T15:11:41.8183124+01:00",
          "Acknowledged": true
        }
      ],
      "Info": "sample string 11",
      "ExchangeStockItemId": "7602b7dc-0bdb-47e9-8afe-650f010fd8d0",
      "ExchangeSKU": "sample string 13",
      "ExchangeTitle": "sample string 14",
      "ExchangeQuantity": 15,
      "DespatchLocationId": "ef2afb99-2c53-4884-8f25-d4e7c1934bda",
      "AdditionalCost": 17.0,
      "OrderItemRowId": "0847e135-3c5a-41cd-8f06-c89b616b0d01",
      "ReturnItemSKU": "sample string 19",
      "ReturnItemTitle": "sample string 20",
      "BatchInventoryId": 1,
      "ReturnLocation": "21e6963e-e4c2-4f47-be2f-8aea3db8fe0f",
      "ReturnQuantity": 22,
      "RefundAmount": 23.0,
      "RefundRowId": "3bede74a-6508-4f8f-b5e6-30c23ea1d312",
      "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.8183124+01:00",
      "Actioned": true,
      "ActionedDate": "2019-10-09T15:11:41.8183124+01:00",
      "Deleted": true,
      "ResendQuantity": 7,
      "NewOrderId": "7707f793-33ac-4233-a06b-e6bf3974beea",
      "ValidationError": "sample string 10",
      "Error": "sample string 10",
      "Errors": [
        {
          "RMARowId": 1,
          "ErrorMessage": "sample string 2",
          "DateStamp": "2019-10-09T15:11:41.8183124+01:00",
          "Acknowledged": true
        },
        {
          "RMARowId": 1,
          "ErrorMessage": "sample string 2",
          "DateStamp": "2019-10-09T15:11:41.8183124+01:00",
          "Acknowledged": true
        }
      ],
      "Info": "sample string 11",
      "ExchangeStockItemId": "7602b7dc-0bdb-47e9-8afe-650f010fd8d0",
      "ExchangeSKU": "sample string 13",
      "ExchangeTitle": "sample string 14",
      "ExchangeQuantity": 15,
      "DespatchLocationId": "ef2afb99-2c53-4884-8f25-d4e7c1934bda",
      "AdditionalCost": 17.0,
      "OrderItemRowId": "0847e135-3c5a-41cd-8f06-c89b616b0d01",
      "ReturnItemSKU": "sample string 19",
      "ReturnItemTitle": "sample string 20",
      "BatchInventoryId": 1,
      "ReturnLocation": "21e6963e-e4c2-4f47-be2f-8aea3db8fe0f",
      "ReturnQuantity": 22,
      "RefundAmount": 23.0,
      "RefundRowId": "3bede74a-6508-4f8f-b5e6-30c23ea1d312",
      "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"
  ]
}