v1

latestOpenAPI 3.0.02026-07-266521,3121.2 MB
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

get/api/ReturnsRefunds/CreateReturnsRefundsCSV

Query parameters

fromstring date-time

The lower end of the date range to search. Can be null if searching for 'all dates'. Maximum range is 3 months.

tostring date-time

The upper end of the date range to search. Can be null if searching for 'all dates'. Maximum range is 3 months.

dateType'ALLDATES' | 'RECEIVED' | 'PROCESSED' | 'BOOKED' | 'ACTIONED'

The search type (e.g. ALLDATES)

searchFieldstring

The field to search by. Can be found by calling GetSearchTypes.

exactMatchboolean

Set to true if an exact match is required for the search data.

searchTermstring

The term which you are searching for.

sortColumnstring

The column to sort by

sortDirectionboolean

The sort direction (true = ascending, false = descending).

historyType'RETURNS' | 'REFUNDS' | 'CANCELLATIONS'

Search type. Allow RETURNS or REFUNDS

Response

OK

string required