Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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": "91708e62-5b50-4f83-86c4-d84ea7d87007",
  "PostalServiceName": "sample string 13",
  "CategoryId": "2197c9c5-591e-411f-adf7-01f0308c34c2",
  "CategoryName": "sample string 15",
  "PackageGroupId": "8d0c3b4b-e470-4425-8ceb-b4fd0fa11545",
  "PackageGroupName": "sample string 17",
  "Height": 18.1,
  "Width": 19.1,
  "Depth": 20.1,
  "Weight": 21.1,
  "CreationDate": "2021-07-29T09:24:13.6817595+01:00",
  "InventoryTrackingType": 22,
  "BatchNumberScanRequired": true,
  "SerialNumberScanRequired": true,
  "StockItemId": "8582d62f-8ede-42e1-96d3-f549f7a42661",
  "StockItemIntId": 26
}

Response

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