Returns a list of Stock Items for the provided key and location
Name | Type | Description |
---|---|---|
stockIdentifier | Search_Stock_ByKey | Made up of a string key, used to search Item Number, Barcode Number, Supplier Code and Supplier Basrcode Fields as well as Stock Location. |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Stock/GetStockItemsByKey
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.
stockIdentifier={
"Key": "sample string 1",
"LocationId": "83161083-6165-47a0-a36b-a48d1bba3275"
}
This is an example of the response JSON. Results will vary depending on your 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": "dbd5713f-d5ae-47ba-b028-5ea36b8f2155",
"PostalServiceName": "sample string 15",
"CategoryId": "b10e58ff-66bb-48d4-8e1f-6136392a0754",
"CategoryName": "sample string 17",
"PackageGroupId": "5d52fc18-4b06-438c-8f9a-4174dc72c566",
"PackageGroupName": "sample string 19",
"Height": 20.1,
"Width": 21.1,
"Depth": 22.1,
"Weight": 23.1,
"CreationDate": "2023-01-10T13:49:55.0139336+00:00",
"InventoryTrackingType": 24,
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"StockItemId": "9bd92187-ead9-4f4d-bb47-3fb0713617f5",
"StockItemIntId": 28
}
]