Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

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

GET | 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=482ccb6d-b902-429a-bbeb-926a37f953eb&fieldName=0&fieldValue=sample string 1&locationId=03bf9ad9-fcfe-4171-a632-01b304163eb4&changeSource=sample string 1

Response

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

{
  "sample string 1": {
  }
}