Use this call to get basic information about a processed order (e.g. source, subsource, address) as seen on the Returns/Refunds screens.
Name | Type | Description |
---|---|---|
pkOrderId | Guid | The id of the order. |
includeRefundLink | Boolean | Is a refund link required (not available for all channels). |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/ProcessedOrders/GetReturnOrderInfo
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=80ac350c-fc23-4150-9e75-442cf6f88a94&includeRefundLink=true
This is an example of the response JSON. Results will vary depending on your data.
{
"pkOrderId": "fe307974-74ae-4d25-9abe-86df92241003",
"nOrderId": 2,
"Source": "sample string 3",
"SubSource": "sample string 4",
"PostalServiceName": "sample string 5",
"cShippingAddress": "sample string 6",
"cCurrency": "sample string 7",
"dReceivedDate": "2023-01-10T13:49:50.2031546+00:00",
"dProcessedOn": "2023-01-10T13:49:50.2031546+00:00",
"fTotalCharge": 10.1,
"RefundLink": "sample string 11"
}