Use this call to get a basic list of returns, exchanges and resends for an order.
Name | Type | Description |
---|---|---|
pkOrderId | Guid | The order id to get the returns for |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/ProcessedOrders/GetReturnsExchanges
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=e8017ea5-9b92-4f3d-a952-c923534746c2
This is an example of the response JSON. Results will vary depending on your data.
[
{
"pkReturnId": 1,
"RowType": 0,
"ReturnReference": "sample string 2",
"fkOrderId": "af3cd5aa-8546-4d6a-bd03-1ae2d2691db4",
"fkOrderItemRowId": "62af13e9-6aa4-4b5e-894a-4af13bdf5f47",
"OrderItemBatchId": 5,
"nOrderId": 6,
"SKU": "sample string 7",
"ItemTitle": "sample string 8",
"BatchNumber": "sample string 9",
"Reason": "sample string 10",
"ChannelReason": "sample string 11",
"ChannelReasonSec": "sample string 12",
"Category": "sample string 13",
"ReturnQty": 14,
"fkReturnLocationId": "de7e4c2a-ec18-464e-8ae0-7a20a4f0bf4f",
"Scrapped": true,
"ScrapQty": 1,
"LastState": "sample string 16",
"LastDate": "2023-01-10T13:49:50.1686755+00:00",
"Completed": true,
"fkNewOrderId": "0214fdee-7553-47b2-8061-195f4b60a16c",
"fkNewOrderItemRowId": "04ca28bc-f60a-4565-a157-bfb80e2c71d7",
"fkNewStockItemId": "ae025eb9-bdcb-466e-bd79-424787b6d977",
"NewQty": 1,
"NewOrderId": 1,
"NewOrderCancelled": true,
"NewSKU": "sample string 20",
"NewItemTitle": "sample string 21",
"NewOrderProcessedOn": "2023-01-10T13:49:50.1696727+00:00",
"AdditionalCost": 1.1,
"fkRefundRowId": "3ad8ead8-62ca-43f8-b20d-99dc363e3061",
"RefundedAmount": 1.1,
"PendingRefund": 1.1,
"ReturnDate": "2023-01-10T13:49:50.1696727+00:00"
}
]