Fandom

WoWWiki

API GetMerchantItemLink

104,757pages on
this wiki
Add New Page
Talk3 Share
WoW API < GetMerchantItemLink

Returns a link to the indexed item in the merchant's inventory.

link = GetMerchantItemLink(index);

Parameters Edit

Arguments Edit

index 
Integer - The index of the item in the merchant's inventory

Returns Edit

itemLink 
String - returns a string that will show as a clickable link to the item

Example Edit

DEFAULT_CHAT_FRAME:AddMessage(GetMerchantItemLink(4));

ResultEdit

A clickable item link will appear in the default chat frame.

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.