Fandom

WoWWiki

API GetMerchantItemMaxStack

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetMerchantItemMaxStack


Gets the maximum stack size for an item from the active merchant.

maxStack = GetMerchantItemMaxStack(index)


Arguments Edit

index 
Number - The index of the item in the merchant's inventory.


Returns Edit

maxStack 
Number - The maximum stack size for the item.


Note Edit

This does not seem to work properly as of patch 2.3, and always returns 1 for items that sell in stacks (such as arrows). Try GetItemInfo() instead.

Also on Fandom

Random Wiki