GetMerchantItemID

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 6.1.0 / 1.13.2

Returns the itemID of an item of the current merchant window.

itemID = GetMerchantItemID(Index)

Arguments

Index
number - Index

Returns

itemID
itemID - itemID of Merchant Item at Index

Example

To get the itemID of an item of the current merchant window:

/dump GetMerchantItemID(1) -- [1] = 194298