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

# CreateReturnsRefundsCSV

`GET /api/ReturnsRefunds/CreateReturnsRefundsCSV`

## Request

- Base URL: `https://eu-ext.linnworks.net`
- URL: `https://eu-ext.linnworks.net/api/ReturnsRefunds/CreateReturnsRefundsCSV`
- Auth: API key in header `Authorization`

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/returns-and-refunds-api.md) - [All operations](https://skmtc.dev/linnworks/apis/returns-and-refunds-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linnworks/apis/returns-and-refunds-api/revisions/f33c88040fa0?raw)
