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

GET | 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,
  "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": "dc648dfc-d200-4cc7-a54f-63ebc3a38f8c",
  "PostalServiceName": "sample string 15",
  "CategoryId": "104a0ce6-55c0-4698-91ac-4bb47a38b71f",
  "CategoryName": "sample string 17",
  "PackageGroupId": "26b3db18-7d3f-4e85-9fed-d694b51c1328",
  "PackageGroupName": "sample string 19",
  "Height": 20.1,
  "Width": 21.1,
  "Depth": 22.1,
  "Weight": 23.1,
  "CreationDate": "2022-09-05T15:10:02.2159126+03:00",
  "InventoryTrackingType": 24,
  "BatchNumberScanRequired": true,
  "SerialNumberScanRequired": true,
  "StockItemId": "b55d8f62-62e7-4b23-b69e-4024c170a4e3",
  "StockItemIntId": 28
}

Response

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