Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Inventory /UpdateInventoryItemStockField

Allows 250 calls per minute

Response: Dictionary<String,Object>



Update and return stock level

Parameters

NameTypeDescription
inventoryItemIdGuidStock Item Id
fieldNameColumnNameTypeName of field updated
fieldValueStringInput value
locationIdGuidLocation Id
changeSourceStringchangeSource

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/UpdateInventoryItemStockField

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.

inventoryItemId=0bb5ab5f-7615-4151-8ba7-808003f11774&fieldName=0&fieldValue=sample string 1&locationId=5156af49-e3bf-44d9-a236-cbf6fc2e1bb6&changeSource=sample string 1

Response

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

{
  "sample string 1": {
  }
}