Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ReturnsRefunds /DeleteRefund

Allows 150 calls per minute

Response: DeleteRefundResponse



Deletes all lines from the given refund header that have not yet been processed, or acknowledged as errors, removing it from the "Actionable Refunds" screen. If no lines are left, the header row is deleted

Parameters

NameTypeDescription
requestDeleteRefundRequestThe request class for this call

Permissions

GlobalPermissions.OrderBook.ReturnsRefunds.Refunds.DeleteRefundsNode

Example Request

The following request format is required for this method.

Endpoint URL

POST | DELETE https://eu-ext.linnworks.net/api/ReturnsRefunds/DeleteRefund

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
}

Response

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

{
}