Used to get inventory item information at a basic level from ids.
Name | Type | Description |
---|---|---|
request | GetStockItemsFullByIdsRequest | Object with a list of pkStockItemIds and Data Requirements |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Stock/GetStockItemsFullByIds
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.
request={
"StockItemIds": [
"517ea983-4f2c-493d-b60d-2df8601f79e8"
],
"DataRequirements": [
0
]
}
This is an example of the response JSON. Results will vary depending on your data.
{
"StockItemsFullExtended": [
{
"ItemChannelDescriptions": [
{
"pkRowId": "5c3fc77b-aa40-4f2c-8869-b426bc77ed35",
"Source": "sample string 2",
"SubSource": "sample string 3",
"Description": "sample string 4",
"StockItemId": "0a262135-fe12-440f-b7d5-8de8a59e4593",
"StockItemIntId": 2
}
],
"ItemExtendedProperties": [
{
"pkRowId": "505e18fc-8c04-4823-9f25-37c431289fb3",
"fkStockItemId": "1fa87df5-65bb-4c76-ae94-dac8597cfe90",
"ProperyName": "sample string 3",
"PropertyValue": "sample string 4",
"PropertyType": "sample string 5"
}
],
"ItemChannelTitles": [
{
"pkRowId": "3bd126e7-10bf-4247-aec6-ded6a631239b",
"Source": "sample string 2",
"SubSource": "sample string 3",
"Title": "sample string 4",
"StockItemId": "d0804c77-fffd-4cdb-a82a-4230b8481965",
"StockItemIntId": 2
}
],
"ItemChannelPrices": [
{
"Rules": [
{
"pkRowId": 1,
"fkStockPricingId": "6397a945-b22d-4b73-a0c3-7d9a16c5dbbb",
"Type": "sample string 2",
"LowerBound": 3,
"Value": 4.1
}
],
"pkRowId": "cb94557d-476b-475b-8f7a-0f41e25e91e7",
"Source": "sample string 2",
"SubSource": "sample string 3",
"Price": 4.1,
"Tag": "sample string 5",
"UpdateStatus": 0,
"StockItemId": "f8a782db-2b59-4c4f-839f-a43326a46985",
"StockItemIntId": 2
}
],
"Suppliers": [
{
"IsDefault": true,
"Supplier": "sample string 2",
"SupplierID": "4b8e2ef8-1c36-4350-930f-af38eddd1ea6",
"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": "746f65c9-219a-4328-b175-91c2add6d1ba",
"StockItemIntId": 16
}
],
"StockLevels": [
{
"Location": {
"StockLocationId": "aae118d1-7b08-41db-8390-042ff5f46dbd",
"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": "2023-01-10T13:49:55.0521314+00:00",
"LastUpdateOperation": "sample string 10",
"rowid": "1b70262e-8185-4d82-a2f0-20ad18a23907",
"PendingUpdate": true,
"StockItemPurchasePrice": 13.1,
"StockItemId": "c1348235-1fa0-4815-bd40-2ac00408b2ea",
"StockItemIntId": 15
}
],
"Images": [
{
"Source": "sample string 1",
"FullSource": "sample string 2",
"CheckSumValue": "sample string 3",
"pkRowId": "25cb324f-221d-4ea2-96aa-1d880e91af5d",
"IsMain": true,
"SortOrder": 6,
"ChecksumValue": "sample string 7",
"RawChecksum": "sample string 8",
"StockItemId": "40d8a3b6-10b4-4bf4-a115-35312c5c856f",
"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": "ac2b47c1-9697-4177-9b5e-6f1d2cd0d2b9",
"PostalServiceName": "sample string 8",
"CategoryId": "06fec722-c1de-45f9-9988-35b480acb628",
"CategoryName": "sample string 10",
"PackageGroupId": "265a2737-4817-43ca-b258-27f9a506577a",
"PackageGroupName": "sample string 12",
"Height": 13.1,
"Width": 14.1,
"Depth": 15.1,
"Weight": 16.1,
"CreationDate": "2023-01-10T13:49:55.053128+00:00",
"IsCompositeParent": true,
"InventoryTrackingType": 18,
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"StockItemId": "5ad25c7b-e164-4c98-84bc-b25215c726b3",
"StockItemIntId": 22
}
]
}