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": "605d79d9-bc94-459b-a0cd-f1402d0c1b58",
  "PostalServiceName": "sample string 15",
  "CategoryId": "70ef4530-5e80-4734-baf7-d361d7756898",
  "CategoryName": "sample string 17",
  "PackageGroupId": "49ee96cb-6238-4014-91e5-20a493b3b58b",
  "PackageGroupName": "sample string 19",
  "Height": 20.1,
  "Width": 21.1,
  "Depth": 22.1,
  "Weight": 23.1,
  "CreationDate": "2023-01-10T13:49:46.2925698+00:00",
  "InventoryTrackingType": 24,
  "BatchNumberScanRequired": true,
  "SerialNumberScanRequired": true,
  "StockItemId": "3d83b8d5-fc01-4eff-839e-79c781c4e1f0",
  "StockItemIntId": 28
}

Response

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