Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

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

GET | 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",
  "IsVariationParent": true,
  "isBatchedStockType": false,
  "PurchasePrice": 11.1,
  "RetailPrice": 1.1,
  "TaxRate": 12.1,
  "PostalServiceId": "d1d4984a-b6fe-4f89-a6b0-e9c6c6c744f4",
  "PostalServiceName": "sample string 14",
  "CategoryId": "7ce08739-63d4-49c7-9e60-b696900abef0",
  "CategoryName": "sample string 16",
  "PackageGroupId": "d7365cba-fa55-45cc-b1fe-60ac0ac2fdbe",
  "PackageGroupName": "sample string 18",
  "Height": 19.1,
  "Width": 20.1,
  "Depth": 21.1,
  "Weight": 22.1,
  "CreationDate": "2022-08-03T16:02:29.6543394+01:00",
  "InventoryTrackingType": 23,
  "BatchNumberScanRequired": true,
  "SerialNumberScanRequired": true,
  "StockItemId": "2df8daef-3022-4594-aa03-488f88c97c1f",
  "StockItemIntId": 27
}

Response

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