Use this call to refund shipping for an order. Please check the refund options to ensure that a shipping refund is possible.
Name | Type | Description |
---|---|---|
pkOrderId | Guid | The id of the order whose shipping needs to be refunded |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/ProcessedOrders/RefundShipping
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=6723dd60-aa01-447b-97c0-607e4af0f165
This is an example of the response JSON. Results will vary depending on your data.
[
{
"pkRefundRowId": "2f37f39d-701f-4b03-a8c7-8214a8bc3875",
"SKU": "sample string 1",
"ItemTitle": "sample string 2",
"IsItem": true,
"IsService": true,
"Amount": 5.1,
"Reason": "sample string 6",
"Actioned": true,
"ActionDate": "2022-03-09T13:04:12.1980744+00:00",
"ReturnReference": "sample string 8",
"Cost": 1.1,
"RefundStatus": 0,
"IgnoredValidation": true,
"fkOrderItemRowId": "8bc37b9c-f7cc-4f35-b796-20e0f8b5107e",
"ShouldSerializeChannelReason": false,
"ChannelReason": "sample string 10",
"ShouldSerializeChannelReasonSec": false,
"ChannelReasonSec": "sample string 11"
}
]