Back

Search

Search

Methods

Inventory

Orders

ReturnsRefunds /AcknowledgeRMAErrors

Response: AcknowledgeRMAErrorsResponse


Parameters

NameTypeDescription
requestAcknowledgeRMAErrorsRequest

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,
      "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.0939283+01:00",
      "Deleted": true,
      "ResendQuantity": 5,
      "NewOrderId": "611ef342-8f66-4a5d-8ba5-06edb6d35711",
      "Error": "sample string 7",
      "Info": "sample string 8",
      "ExchangeStockItemId": "eded8931-d4b7-4fb0-b192-23bdceeea82b",
      "ExchangeQuantity": 10,
      "DespatchLocationId": "3951e197-fff2-4ea1-a595-d4813ee8c647",
      "AdditionalCost": 12.0,
      "OrderItemRowId": "5acddb96-425c-415d-8a65-6ecbd1318161",
      "BatchInventoryId": 1,
      "ReturnLocation": "eff3bb5d-49f8-4cff-a9bd-8731472eb14c",
      "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.0939283+01:00",
      "Deleted": true,
      "ResendQuantity": 5,
      "NewOrderId": "611ef342-8f66-4a5d-8ba5-06edb6d35711",
      "Error": "sample string 7",
      "Info": "sample string 8",
      "ExchangeStockItemId": "eded8931-d4b7-4fb0-b192-23bdceeea82b",
      "ExchangeQuantity": 10,
      "DespatchLocationId": "3951e197-fff2-4ea1-a595-d4813ee8c647",
      "AdditionalCost": 12.0,
      "OrderItemRowId": "5acddb96-425c-415d-8a65-6ecbd1318161",
      "BatchInventoryId": 1,
      "ReturnLocation": "eff3bb5d-49f8-4cff-a9bd-8731472eb14c",
      "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"
    }
  ],
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Info": [
    "sample string 1",
    "sample string 2"
  ]
}