Use this call to get a list of service items which can be refunded.
Name | Type | Description |
---|---|---|
pkOrderId | Guid | The id of the order which the service items belong to. |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/ProcessedOrders/GetRefundableServiceItems
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=95b5c172-7279-4871-ba86-4f56085099c4
This is an example of the response JSON. Results will vary depending on your data.
[
{
"pkOrderItemRowId": "01463809-c68e-4f1a-9abf-f067ec4e7207",
"ServiceName": "sample string 2",
"ServiceCost": 3.1,
"DefaultChannelReason": {
"Tag": "sample string 1",
"DisplayName": "sample string 2"
},
"DefaultChannelSubReason": {
"Tag": "sample string 1",
"DisplayName": "sample string 2"
},
"AllowsAutomatedRefund": true
}
]