Skip to main content

system.kanoa.item.updateItemField

Requires kanoaOPS license

Description

Updates an item's field value.

Syntax

updateItemField(itemId, field, value, userId)

Parameters:
  • itemId (Integer): ID of the item to update.
  • field (String): Field name to update.
  • value (PyObject): Value corresponding to the field data type.
  • userId (Integer): User ID.

  • Returns:
  • itemId (Integer): ID of the updated item.
  • Code Examples

    # Example Usage:
    updatedItemId = system.kanoa.item.updateItemField(1, 'itemName', 'NewName', 123)