Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

ReturnsRefunds /AcknowledgeRefundErrors

Allows 150 calls per minute

Response: AcknowledgeRefundErrorsResponse



Acknowledges error responses for a given refund header

Parameters

NameTypeDescription
requestAcknowledgeRefundErrorsRequestThe request class for this call

Permissions

GlobalPermissions.OrderBook.ReturnsRefunds.Refunds.ApproveRefundsNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/ReturnsRefunds/AcknowledgeRefundErrors

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "RefundHeaderId": 1,
  "RefundRowIds": [
    "1f24e2d5-bc2b-4fce-b196-b4443b03867e"
  ],
  "AcknowledgeAllErrors": true
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "EntireRefundHeaderSetToErrorAcked": true,
  "RefundHeaderId": 1,
  "RefundReference": "sample string 2",
  "Status": {
    "StatusHeader": 0,
    "StatusDetail": {
      "StatusTag": "sample string 1",
      "StatusDescription": "sample string 2",
      "Actionable": true,
      "ActionDescription": "sample string 4",
      "EditableFields": [
        "sample string 1"
      ]
    }
  },
  "CannotRefundReason": 0,
  "Errors": [
    "sample string 1"
  ],
  "RefundLines": null
}