Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /GetStockSold

Allows 150 calls per minute

Response: List<StockItemSold>



Use this call to retrieve report about "item stock sold"

Parameters

NameTypeDescription
stockItemIdGuidUsed to specify report stock item id

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Stock/GetStockSold

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

stockItemId=235564c9-486f-4d49-ac56-6d17bcdf50c2

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  {
    "Quantity": 1,
    "ItemNumber": "sample string 2",
    "ItemTitle": "sample string 3",
    "StockItemId": "62ed11f1-1126-4a98-8561-855d1ec8bf65",
    "StockItemIntId": 5
  }
]