Use this call to retrieve report about "Found stock items"
Name | Type | Description |
---|---|---|
keyWord | String | |
locationId | Nullable<Guid> | |
entriesPerPage | Int32 | |
pageNumber | Int32 | |
excludeComposites | Boolean | |
excludeVariations | Boolean | |
excludeBatches | Boolean |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Stock/GetStockItems
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.
keyWord=sample string 1&locationId=3338a5dd-1982-4ceb-aa48-749025cc5310&entriesPerPage=1&pageNumber=1&excludeComposites=true&excludeVariations=true&excludeBatches=true
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,
"ItemNumber": "sample string 6",
"ItemTitle": "sample string 7",
"BarcodeNumber": "sample string 8",
"MetaData": "sample string 9",
"IsVariationParent": true,
"isBatchedStockType": false,
"PurchasePrice": 11.1,
"RetailPrice": 1.1,
"TaxRate": 12.1,
"PostalServiceId": "c13e485d-ad21-4a40-a6ab-32996b944b8a",
"PostalServiceName": "sample string 14",
"CategoryId": "03edca22-2b2d-43ec-ab9f-c5c4f6d17aec",
"CategoryName": "sample string 16",
"PackageGroupId": "f1a33e9f-a966-4722-8a33-f70fb5cfdb3d",
"PackageGroupName": "sample string 18",
"Height": 19.1,
"Width": 20.1,
"Depth": 21.1,
"Weight": 22.1,
"CreationDate": "2022-08-03T16:02:31.7135914+01:00",
"InventoryTrackingType": 23,
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"StockItemId": "f1f951a6-95bf-48e6-904d-1615ad2a97ad",
"StockItemIntId": 27
}
]
}