Use this call to get information about manual/automated refunds (which kinds of refunds are possible) for a given order.
Name | Type | Description |
---|---|---|
pkOrderId | Guid | The id of the order |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/ProcessedOrders/GetRefundsOptions
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.
pkOrderId=fbfdaa50-fb51-4b18-980c-90d98f245a0e
This is an example of the response JSON. Results will vary depending on your data.
{
"FreeTextOption": 1,
"CanRefundShipping": true,
"OrderHasServiceItems": true,
"IsShippingRefundAutomated": true,
"IsServiceRefundAutomated": true,
"SupportsAutomatedRefunds": true
}