system.kanoa.item.updateItemField
Description
Updates an item's field value (kanoaOPS).Syntax
updateItemField(itemId, field, value, userId)- itemId (Integer) - ID of the item to update.
- field (String) - Field name to update (e.g., 'itemName', 'itemDescription', 'itemClassId', 'itemColor', 'enabled').
- value (PyObject) - Value corresponding to the field data type.
- userId (Integer) - User ID.
- itemId (Integer) - ID of the updated item.
Code Examples
# Example Usage:
updatedItemId = system.kanoa.item.updateItemField(1, 'itemName', 'NewName', 123)