Instantiate a new instance of InventoryItem class for an inventory item.
Optional
options: objectReturns a new InventoryItem object for interacting with the specified item.
Retrieve an inventory item and all its properties.
Optional
options: objectReturns a new InventoryItem object with all properties.
Factory for creating InventoryItem instances. Use this factory to work with inventory items in the Topia platform.
Remarks
This factory should be instantiated once per application and reused across your codebase.
Keywords
inventory, factory, create, get, item
Example