Use this call to add stock item.
Name | Type | Description |
---|---|---|
inventoryItem | StockItem | New StockItem |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Inventory/AddInventoryItem
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.
inventoryItem={
"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",
"isBatchedStockType": false,
"PurchasePrice": 10.1,
"RetailPrice": 1.1,
"TaxRate": 11.1,
"PostalServiceId": "7e07c1e6-1b1e-48c5-993e-3ef0e697b31e",
"PostalServiceName": "sample string 13",
"CategoryId": "c8bf3d85-a879-4c19-b169-466e72862daf",
"CategoryName": "sample string 15",
"PackageGroupId": "53cde5af-27f8-4e47-979a-a77c440586fa",
"PackageGroupName": "sample string 17",
"Height": 18.1,
"Width": 19.1,
"Depth": 20.1,
"Weight": 21.1,
"CreationDate": "2022-03-09T13:04:03.1530609+00:00",
"InventoryTrackingType": 22,
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"StockItemId": "39108ad0-ec07-492e-8776-d8a93a6ed2b5",
"StockItemIntId": 26
}
This is an example of the response JSON. Results will vary depending on your data.