Use this call to get a list of all items on an order, including return quantities and resend quantities. The information can be used to calculate how many items has already been returned.
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/GetReturnItemsInfo
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=e81dfae5-2eb5-482a-a9c6-7744bd666e9d
This is an example of the response JSON. Results will vary depending on your data.
[
{
"ChildItems": [
{
}
],
"Batches": null,
"OrderId": "00000000-0000-0000-0000-000000000000",
"fkOrderItemRowId": "f8853160-9fd4-40e6-be9d-f3adc57a5d3a",
"ParentRowId": "14b97566-90b8-427b-b104-462fdcfb62bb",
"ReturnableQty": 0,
"OrderQty": 3,
"ReturnedQty": 4,
"SKU": "sample string 5",
"ItemTitle": "sample string 6",
"UnitValue": 7.1,
"TaxRate": 8.1,
"TaxCostInclusive": true,
"Currency": "sample string 10",
"IsCompositeParent": true,
"IsPartialCompositeReturn": true,
"ParentRatio": 13,
"pkStockItemId": "da7fa508-8a84-4d7f-a4ee-8b74d50b227b",
"ResentQty": 14,
"fkRefundRowId": "2272534d-107c-407d-bc61-de6f805f70c9"
}
]