Skip to main content

system.kanoa.item.checkItemClassPath

Description

Checks if an itemClassPath exists and creates it if it doesn't exist.

Syntax

checkItemClassPath(itemClassPath, userId)

Parameters:
  • itemClassPath (string)
  • userId (int)

  • Returns:
  • itemClassId (int)
  • Code Examples

    # Example Usage:
    data = system.kanoa.item.checkItemClassPath('Acme\Giant Slingshots\Finished Goods', 18)
    print data
    >
    49
    >>>