Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Inventory /UpdateInventoryItemLevels

Allows 250 calls per minute

Response: Dictionary<Guid,Dictionary>



Update and return stock level records for the stock item and any composite related items

Parameters

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

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockLevelsNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Inventory/UpdateInventoryItemLevels

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=aa4926be-9dd9-4057-8172-cec4b451c98a&fieldName=0&fieldValue=sample string 1&locationId=8bf4c27b-8490-44fd-8b30-42a72ce2e05c&changeSource=sample string 1

Response

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

{
  "725e63c0-e2bf-4d74-859f-05ad48d15e61": {
    "sample string 1": {
    }
  }
}