Used to get inventory information at a basic level
Name | Type | Description |
---|---|---|
keyword | String | Your seearch term |
loadCompositeParents | Boolean | Whether you want to load composite parents or ignore them |
loadVariationParents | Boolean | Whether you want to load variation parents |
entriesPerPage | Int32 | The amount of entries you require. Maximum 200. |
pageNumber | Int32 | The current page number you are requesting |
dataRequirements | List<StockInformationDataRequirement> | The data you require. eg. StockLevels will load the stock levels for each location |
searchTypes | List<StockInformationSearchType> | The parameters that you would like to search by |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Stock/GetStockItemsFull
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&loadCompositeParents=true&loadVariationParents=true&entriesPerPage=1&pageNumber=1&dataRequirements=[
0
]&searchTypes=[
0
]
This is an example of the response JSON. Results will vary depending on your data.
[
{
"Suppliers": [
{
"IsDefault": true,
"Supplier": "sample string 2",
"SupplierID": "ed4efcc9-a3c9-4b4c-b442-266a21b66f1b",
"Code": "sample string 4",
"SupplierBarcode": "sample string 5",
"LeadTime": 6,
"PurchasePrice": 7.1,
"MinPrice": 8.1,
"MaxPrice": 9.1,
"AveragePrice": 10.1,
"AverageLeadTime": 11.1,
"SupplierMinOrderQty": 12,
"SupplierPackSize": 13,
"SupplierCurrency": "sample string 14",
"StockItemId": "19e3eecf-ad9c-413d-9d43-598c26d098d8",
"StockItemIntId": 16
}
],
"StockLevels": [
{
"Location": {
"StockLocationId": "8b2d46be-347e-4a14-8f83-b0235cfe7d23",
"StockLocationIntId": 2,
"LocationName": "sample string 3",
"IsFulfillmentCenter": true,
"LocationTag": "sample string 5",
"BinRack": "sample string 6",
"IsWarehouseManaged": true
},
"StockLevel": 1,
"StockValue": 2.1,
"MinimumLevel": 3,
"InOrderBook": 4,
"Due": 5,
"JIT": true,
"InOrders": 4,
"Available": -3,
"UnitCost": 2.1,
"SKU": "sample string 7",
"AutoAdjust": true,
"LastUpdateDate": "2022-03-09T13:04:11.9265829+00:00",
"LastUpdateOperation": "sample string 10",
"rowid": "51b63be5-7aa1-4bbb-81b2-5d6b631e6fcd",
"PendingUpdate": true,
"StockItemPurchasePrice": 13.1,
"StockItemId": "d8e76820-a0f1-49f2-8956-2d7d73c25ebd",
"StockItemIntId": 15
}
],
"ItemChannelDescriptions": [],
"ItemExtendedProperties": [],
"ItemChannelTitles": [],
"ItemChannelPrices": [],
"Images": [
{
"Source": "sample string 1",
"FullSource": "sample string 2",
"CheckSumValue": "sample string 3",
"pkRowId": "b941a2bf-5125-4b6d-a049-7afb806e98bf",
"IsMain": true,
"SortOrder": 6,
"ChecksumValue": "sample string 7",
"RawChecksum": "sample string 8",
"StockItemId": "979a79dc-6409-4a3b-8e4d-f35d2beb1e55",
"StockItemIntId": 10
}
],
"ItemNumber": "sample string 1",
"ItemTitle": "sample string 2",
"BarcodeNumber": "sample string 3",
"MetaData": "sample string 4",
"isBatchedStockType": false,
"PurchasePrice": 5.1,
"RetailPrice": 1.1,
"TaxRate": 6.1,
"PostalServiceId": "204f02a8-9779-43b4-8618-d098dd40f303",
"PostalServiceName": "sample string 8",
"CategoryId": "b8059c41-d69f-4bd8-a178-fad4bb803b9d",
"CategoryName": "sample string 10",
"PackageGroupId": "8245bc84-036a-48b5-9c9b-31cd8372e32f",
"PackageGroupName": "sample string 12",
"Height": 13.1,
"Width": 14.1,
"Depth": 15.1,
"Weight": 16.1,
"CreationDate": "2022-03-09T13:04:11.9255857+00:00",
"InventoryTrackingType": 17,
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"StockItemId": "a3a9ac11-6fbe-4f3f-a935-5ce06fb42837",
"StockItemIntId": 21
}
]