Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /GetStockItems

Allows 150 calls per minute

Response: GenericPagedResult<StockItem>



Use this call to retrieve report about "Found stock items"

Parameters

NameTypeDescription
keyWordString
locationIdNullable<Guid>
entriesPerPageInt32
pageNumberInt32
excludeCompositesBoolean
excludeVariationsBoolean
excludeBatchesBoolean

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

keyWord=sample string 1&locationId=6056c8af-dca8-456c-a14f-fcf7d7b5d0a9&entriesPerPage=1&pageNumber=1&excludeComposites=true&excludeVariations=true&excludeBatches=true

Response

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

{
  "PageNumber": 1,
  "EntriesPerPage": 2,
  "TotalEntries": 3,
  "TotalPages": 2,
  "Data": [
    {
      "ItemDescription": "sample string 1",
      "Quantity": 2,
      "InOrder": 3,
      "Due": 4,
      "MinimumLevel": 5,
      "Available": -1,
      "IsCompositeParent": true,
      "ShippedSeparately": true,
      "ItemNumber": "sample string 7",
      "ItemTitle": "sample string 8",
      "BarcodeNumber": "sample string 9",
      "MetaData": "sample string 10",
      "IsVariationParent": true,
      "isBatchedStockType": false,
      "PurchasePrice": 12.1,
      "RetailPrice": 1.1,
      "TaxRate": 13.1,
      "PostalServiceId": "410020e9-b80f-4b0a-9032-e04649245afc",
      "PostalServiceName": "sample string 15",
      "CategoryId": "a79b0c54-a340-4262-9e33-618550efe872",
      "CategoryName": "sample string 17",
      "PackageGroupId": "1af96963-d84f-414d-9e57-717e2fef8c2d",
      "PackageGroupName": "sample string 19",
      "Height": 20.1,
      "Width": 21.1,
      "Depth": 22.1,
      "Weight": 23.1,
      "CreationDate": "2023-01-10T13:49:55.0092073+00:00",
      "InventoryTrackingType": 24,
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "StockItemId": "dfde416d-f562-487d-b6c7-e15dbf33a12c",
      "StockItemIntId": 28
    }
  ]
}