Skip to main content

system.kanoa.lot.updateLot

Description

Updates an existing lot.

Syntax

updateLot(lotInfo, userId)

Parameters:
  • lotInfo (dict) - Information about the lot to be updated, including lotEventId, lotName, and itemId.
  • userId (int) - User ID

  • Returns:
  • numRecordsModified (int)
  • Code Examples

    # Example usage
    lotInfo = {'lotEventId': 1, 'lotName': 'Lot#2', 'itemId': 68}
    userId = 123
    recordsModified = system.kanoa.lot.updateLot(lotInfo, userId)
    print(recordsModified) # Print the number of records modified