Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API BuyMerchantItem

From WoW Classic Wiki
BuyMerchantItem -Documentation by Fenaoin-
BuyMerchantItem(index {, quantity});

Buys the specified item.


Arguments
(index {, quantity})
index
Number - The index of the item in the merchant's inventory
quantity
Number - Optional quantity to buy

Returns
nothing

Details
If the item is sold in stacks, the quantity specifies how many stacks will be bought.

Template:WoW API