Use this call to add stock item.
Name | Type | Description |
---|---|---|
inventoryItem | StockItem | New StockItem |
The following request format is required for this method.
GET | 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,
"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": "f0510655-60b0-46c0-93d0-c7bccbc23ae2",
"PostalServiceName": "sample string 15",
"CategoryId": "0d16783a-cee6-447b-9d9a-5166e2aa6bf1",
"CategoryName": "sample string 17",
"PackageGroupId": "277ac613-11f7-4f6b-8f71-200efbea1ccc",
"PackageGroupName": "sample string 19",
"Height": 20.1,
"Width": 21.1,
"Depth": 22.1,
"Weight": 23.1,
"CreationDate": "2023-01-10T13:49:46.2766188+00:00",
"InventoryTrackingType": 24,
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"StockItemId": "218d0d4f-0b31-400e-9222-bb38f75688c9",
"StockItemIntId": 28
}
This is an example of the response JSON. Results will vary depending on your data.