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.
GET | 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=2f0233b3-5c14-4a54-af67-fe587eb16ac7
This is an example of the response JSON. Results will vary depending on your data.
[
{
"pkRefundRowId": "5fa20675-3c0d-4f7a-96a6-7b8767a984ad",
"SKU": "sample string 1",
"ItemTitle": "sample string 2",
"IsItem": true,
"IsService": true,
"Amount": 5.1,
"Reason": "sample string 6",
"Actioned": true,
"ActionDate": "2023-01-10T13:49:50.1269302+00:00",
"ReturnReference": "sample string 8",
"Cost": 1.1,
"RefundStatus": 0,
"IgnoredValidation": true,
"fkOrderItemRowId": "acd342e2-bb71-49b0-8f98-32ae78f616fd",
"ShouldSerializeChannelReason": false,
"ChannelReason": "sample string 10",
"ShouldSerializeChannelReasonSec": false,
"ChannelReasonSec": "sample string 11"
}
]