Returns a hyperlink for an item recently sold to a vendor and available to be repurchased


See also Merchant functions, Hyperlink functions.

Signature:

link = GetBuybackItemLink(index)

Arguments:

Returns:

  • link - A hyperlink for the item (string, hyperlink)

Examples:

-- Print item links for every item in the buyback tab
for i=1,12 do
  local link = GetBuybackItemLink(i)
  if link then
    print(link .. " is available for buyback")
  end
end