Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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=f66cfe06-c009-4a9e-8c66-b06a093ee62a

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": "99f123a7-1455-49ab-a0b9-04c73fcd22ae",
    "StockItemIntId": 5
  }
]