Name | Type | Description |
---|---|---|
request | GetStockItemsByIdsRequest |
The following request format is required for this method.
POST https://eu-ext.linnworks.net//api/Stock/GetStockItemsByIds HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
request={
"StockItemIds": [
"e9dbdf3e-9d45-47b2-a85c-b384daa2cc5e",
"01ea466e-0f93-4e28-9e6a-c1f346140f51"
]
}
This is an example response. Results may vary depending on your data.
{
"Items": [
{
"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": "aa5b9108-4f19-477e-8a9f-d65af7283894",
"PostalServiceName": "sample string 8",
"CategoryId": "5a8f5509-7f3c-435f-8431-cd5640b7f2ab",
"CategoryName": "sample string 10",
"PackageGroupId": "c929794b-8b18-4a66-aace-b4247ca1bbdb",
"PackageGroupName": "sample string 12",
"Height": 13.1,
"Width": 14.1,
"Depth": 15.1,
"Weight": 16.1,
"CreationDate": "2021-02-21T11:27:16.4275842+00:00",
"InventoryTrackingType": 17,
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"StockItemId": "54c933eb-f869-4607-95f3-7b973ed532db",
"StockItemIntId": 21
},
{
"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": "aa5b9108-4f19-477e-8a9f-d65af7283894",
"PostalServiceName": "sample string 8",
"CategoryId": "5a8f5509-7f3c-435f-8431-cd5640b7f2ab",
"CategoryName": "sample string 10",
"PackageGroupId": "c929794b-8b18-4a66-aace-b4247ca1bbdb",
"PackageGroupName": "sample string 12",
"Height": 13.1,
"Width": 14.1,
"Depth": 15.1,
"Weight": 16.1,
"CreationDate": "2021-02-21T11:27:16.4275842+00:00",
"InventoryTrackingType": 17,
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"StockItemId": "54c933eb-f869-4607-95f3-7b973ed532db",
"StockItemIntId": 21
}
]
}