API GetItemInfo

Returns information about an item. itemName, itemLink, itemQuality, itemLevel, itemMinLevel, itemType, itemSubType, itemStackCount, itemEquipLoc, itemTexture, sellPrice, classID, subclassID, bindType, expacID, setID, isCraftingReagent = GetItemInfo(itemInfo)

Arguments

 * itemInfo : string :

Returns

 * 1. itemName : string - The localized name of the item.
 * 2. itemLink : string : ItemLink - The localized link of the item.
 * 3. itemQuality : number : Enum.ItemQuality - The quality of the item, e.g.  for Uncommon and   for Rare quality items.
 * 4. itemLevel : number - The base item level, not including upgrades. See for getting the actual item level.
 * 5. itemMinLevel : number - The minimum level required to use the item, or  if there is no level requirement.
 * 6. itemType : string : ItemType - The localized type name of the item: Armor, Weapon, Quest, etc.
 * 7. itemSubType : string : ItemType - The localized sub-type name of the item: Bows, Guns, Staves, etc.
 * 8. itemStackCount : number - The max amount of an item per stack, e.g. 200 for Runecloth.
 * 9. itemEquipLoc : string : Enum.InventoryType - The inventory equipment location in which the item may be equipped e.g., or an empty string if it cannot be equipped.
 * 10. itemTexture : number : FileID - The texture for the item icon.
 * 11. sellPrice : number - The vendor price in copper, or  for items that cannot be sold.
 * 12. classID : number : ItemType - The numeric ID of
 * 13. subclassID : number : ItemType - The numeric ID of
 * 14. bindType : number : LE_ITEM_BIND - When the item becomes soulbound, e.g.  for Bind on Pickup items.
 * 15. expacID : number : LE_EXPANSION - The related Expansion, e.g.  for Shadowlands.
 * 16. setID : <font color="#ecbc2a">number : ItemSetID - For example 761 for Red Winter Hat.
 * 17. isCraftingReagent : <font color="#ecbc2a">boolean - Whether the item can be used as a crafting reagent.

Example
/dump GetItemInfo(4306)
 * Prints item information for Silk Cloth