Gets a list of valid search types. These are needed to search processed orders.
Name | Type | Description |
---|---|---|
historyType | HistoryType | Search type. Allow RETURNS or REFUNDS |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/ReturnsRefunds/GetSearchTypes
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
This is an example of the request structure. Results will vary depending on your data.
historyType=0
This is an example of the response JSON. Results will vary depending on your data.
[
{
"Field": "sample string 1",
"Name": "sample string 2",
"AllowForAllDates": true,
"ExactSearchOptional": true
}
]