---
title: "GetSoldStat"
method: GET
path: "/api/Stock/GetSoldStat"
tags: ["Stock"]
---

# GetSoldStat

`GET /api/Stock/GetSoldStat`

## Request

- Base URL: `https://eu-ext.linnworks.net`
- URL: `https://eu-ext.linnworks.net/api/Stock/GetSoldStat`
- Auth: API key in header `Authorization`

Use this call to retrieve report about "item sold stat"
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>250</b></span> / minute

## Query parameters

- `stockItemId` string, uuid

## Response `200`

OK

- StockItemSoldStat[]
  - `Source` string: ChannelName/Source (e.g. EBAY)
  - `Quantity` integer: Sold quantity
  - `Total` number, double: Total price stock was sold for
  - `Cost` number, double: Total cost of sold stock
  - `ProfitMargin` number, double: Profit margin
  - `Detail` StockItemSoldStatDetail[]: Sold stat inforamtion
    - `Subsource` string: Subsource (e.g EBAY1)
    - `Quantity` integer: Quantity
    - `Total` number, double: Total price stock was sold for
    - `Cost` number, double: Total cost of sold stock
    - `ProfitMargin` number, double: Profit margine
    - `Detail` StockItemSoldStatFinalDetail[]: List of sold stock item information details
      - `Date` string, date-time: When stock was sold
      - `Quantity` integer: Quantity of sold stock
      - `Total` number, double: Total price stock was sold for
      - `Cost` number, double: Total cost of sold stock
      - `ProfitMargin` number, double: Profit margin
  - `StockItemId` string, uuid: Stock Item Id
  - `StockItemIntId` integer: Stock Item interger Id

---

[API](https://skmtc.dev/linnworks/apis/stock-api.md) - [All operations](https://skmtc.dev/linnworks/apis/stock-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linnworks/apis/stock-api/revisions/8b0b8312b9c4?raw)
