ItemType

Every item returned from has a type and subtype. It's preferable to use the item classID (since they match the  enums) instead of the localized itemType.

GetItemInfo
itemType, itemSubType, _, _, _, _, classID, subclassID = select(6, GetItemInfo(itemID))
 * 6. itemType : string - The localized type of the item.
 * 7. itemSubType : string - The localized sub-type of the item.


 * 12. classID : number - The class ID of the item.
 * 13. subclassID : number - The subclass ID of the item.

5: Reagent
- For crafting reagents see 7: Tradeskill. For spell reagents see 15: Miscellaneous.