---
title: "DeleteRefund"
method: POST
path: "/api/ReturnsRefunds/DeleteRefund"
tags: ["ReturnsRefunds"]
---

# DeleteRefund

`POST /api/ReturnsRefunds/DeleteRefund`

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
<b>Permissions Required: </b> GlobalPermissions.OrderBook.ReturnsRefunds.Refunds.DeleteRefundsNode
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- ReturnsRefundsDeleteRefundRequest
  - `request` DeleteRefundRequest
    - `RefundHeaderId` integer — Identifies the refund header to be deleted
    - `ReasonTag` string — Reason for deleting the refund. Channel Dependant
    - `RejectOnChannel` boolean — Bool to say whether rejection note should be sent to the channel

## Response `200`

OK

- DeleteRefundResponse

---

[API](https://skmtc.net/linnworks/apis/authenticate-api.md) · [All operations](https://skmtc.net/linnworks/apis/authenticate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linnworks/authenticate-api/versions/0123569a22fb/schema)
