system.kanoa.item.updateItemAttribute
Description
Updates an item attribute (kanoaOPS).Syntax
updateItemAttribute(itemInfo, userId)- itemInfo (Dictionary) - Dictionary containing updated item attribute information (e.g., {'itemAttrId': 56, 'itemAttrName': 'weight', 'itemId': 1, 'itemAttrValue': 57.4}).
- userId (Integer) - User ID.
- # of records modified (Integer).
Code Examples
# Example Usage:
modifiedRecords = system.kanoa.item.updateItemAttribute({'itemAttrId': 56, 'itemAttrName': 'weight', 'itemId': 1, 'itemAttrValue': 60}, 123)