Use this call to retrieve report about "item sold stat"
Name | Type | Description |
---|---|---|
stockItemId | Guid | Used to specify report stock item id |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Stock/GetSoldStat
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.
stockItemId=7cc3e999-4ed7-4073-b895-832ef77dddf0
This is an example of the response JSON. Results will vary depending on your data.
[
{
"Source": "sample string 1",
"Quantity": 2,
"Total": 3.1,
"Cost": 4.1,
"ProfitMargin": 5.1,
"Detail": [
{
"Subsource": "sample string 1",
"Quantity": 2,
"Total": 3.1,
"Cost": 4.1,
"ProfitMargin": 5.1,
"Detail": [
{
"Date": "2022-03-09T13:04:11.9844343+00:00",
"Quantity": 2,
"Total": 3.1,
"Cost": 4.1,
"ProfitMargin": 5.1
}
]
}
],
"StockItemId": "fe44ddaf-4e10-431e-85e1-f1c824136fed",
"StockItemIntId": 7
}
]