Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Inventory /UpdateInventoryItem

Allows 250 calls per minute

Response: Void



Use this call to update stock item with images

Parameters

NameTypeDescription
inventoryItemStockItemInvInventory item object

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockItemDetailsNode

Example Request

The following request format is required for this method.

Endpoint URL

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

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={
  "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": "635f334a-bc40-4da3-9335-a6b2d469a36c",
  "PostalServiceName": "sample string 13",
  "CategoryId": "687d9c23-e76f-4561-87f4-8102f9be4ff1",
  "CategoryName": "sample string 15",
  "PackageGroupId": "7f11ce69-9eb9-44e5-8aa0-43d1e7ed8a6b",
  "PackageGroupName": "sample string 17",
  "Height": 18.1,
  "Width": 19.1,
  "Depth": 20.1,
  "Weight": 21.1,
  "CreationDate": "2021-07-29T09:24:13.692746+01:00",
  "InventoryTrackingType": 22,
  "BatchNumberScanRequired": true,
  "SerialNumberScanRequired": true,
  "StockItemId": "a7778063-b2f6-40b2-a361-bfa3254ab322",
  "StockItemIntId": 26
}

Response

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