---
title: "CreateReturnsRefundsCSV"
method: GET
path: "/api/ReturnsRefunds/CreateReturnsRefundsCSV"
tags: ["ReturnsRefunds"]
---

# CreateReturnsRefundsCSV

`GET /api/ReturnsRefunds/CreateReturnsRefundsCSV`

Creates a CSV file of the search result for download
<b>Permissions Required: </b> GlobalPermissions.OrderBook.ReturnsRefundsNode
<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

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `dateType` 'ALLDATES' | 'RECEIVED' | 'PROCESSED' | 'BOOKED' | 'ACTIONED'
- `searchField` string
- `exactMatch` boolean
- `searchTerm` string
- `sortColumn` string
- `sortDirection` boolean
- `historyType` 'RETURNS' | 'REFUNDS' | 'CANCELLATIONS'

## Response `200`

OK

- string

---

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