WoW API: BuyMerchantItem

From AddOn Studio
Revision as of 23:35, 23 December 2006 by WoWWiki>Starlightblunder ({{wowapi}}, format)
Jump to navigation Jump to search

WoW API < BuyMerchantItem

Buys the specified item.

BuyMerchantItem(index {, quantity});

Parameters

Arguments

index
Number - The index of the item in the merchant's inventory
quantity
Number (Optional) - Quantity to buy.

Notes

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