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,
  "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": "46f38c3e-cdf7-4d58-ba43-663f71fa420c",
  "PostalServiceName": "sample string 15",
  "CategoryId": "437b496d-be0a-4ff7-ab39-bdeba83abd18",
  "CategoryName": "sample string 17",
  "PackageGroupId": "2e36a293-8fb8-4b18-8861-ad957e30509c",
  "PackageGroupName": "sample string 19",
  "Height": 20.1,
  "Width": 21.1,
  "Depth": 22.1,
  "Weight": 23.1,
  "CreationDate": "2022-09-05T15:10:02.2339592+03:00",
  "InventoryTrackingType": 24,
  "BatchNumberScanRequired": true,
  "SerialNumberScanRequired": true,
  "StockItemId": "090bd3e5-8e4d-49f4-a39f-c0dd0f441144",
  "StockItemIntId": 28
}

Response

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