Back

Search

Search

Methods

Inventory

Orders

Inventory /UpdateInventoryItem

Response: Void



Use this call to update stock item with images

Parameters

NameTypeDescription
inventoryItemStockItemInvInventory item object

HTTP Endpoint

Server /Inventory / UpdateInventoryItem

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockItemDetailsNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Inventory/UpdateInventoryItem HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

inventoryItem={
  "VariationGroupName": "sample string 1",
  "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": "9a5b571c-488a-44c7-bb6e-1e20c7c9fa1c",
  "PostalServiceName": "sample string 13",
  "CategoryId": "201051bb-27f1-441f-b335-d39036c0e83e",
  "CategoryName": "sample string 15",
  "PackageGroupId": "3323a29d-0aa2-4a23-9234-bc55f6a7fb61",
  "PackageGroupName": "sample string 17",
  "Height": 18.1,
  "Width": 19.1,
  "Depth": 20.1,
  "Weight": 21.1,
  "CreationDate": "2019-11-28T09:45:58.8649584+00:00",
  "InventoryTrackingType": 22,
  "BatchNumberScanRequired": true,
  "SerialNumberScanRequired": true,
  "StockItemId": "9cec38c4-0c7a-4517-be75-d22a4f4f9bee",
  "StockItemIntId": 26
}

Response

This is an example response. Results may vary depending on your data.

null