From ESOUI Wiki
This function returns the amount of gold it would cost the player to launder the item in the specified bag slot. The launder price can differ from the sale price if the player has the Haggling perk, which lowers only the sale price.
- A number representing the bag to check; it must be one of the built-in Bag values.
- The numeric index of the slot in that bag which should be checked. For most bags, this is a number ranging from 1 to the size of the bag.
-- GIVEN: -- number bagIndex -- number slotIndex -- local launderPrice = GetItemQuality(bagIndex, slotIndex)