Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /AddInventoryItem

Allows 150 calls per minute

Response: Void



Use this call to add stock item.

Parameters

NameTypeDescription
inventoryItemStockItemNew StockItem

Permissions

GlobalPermissions.Inventory.MyInventoryNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Inventory/AddInventoryItem

Headers

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

Request Body

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
}

Response

This is an example of the response JSON. Results will vary depending on your data.