企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[C\_MerchantFrame.GetBuybackItemID](https://wow.gamepedia.com/API_C_MerchantFrame.GetBuybackItemID "API C MerchantFrame.GetBuybackItemID")(buybackSlotIndex) [C\_MerchantFrame.IsMerchantItemRefundable](https://wow.gamepedia.com/API_C_MerchantFrame.IsMerchantItemRefundable "API C MerchantFrame.IsMerchantItemRefundable")(index) [BuyMerchantItem](https://wow.gamepedia.com/API_BuyMerchantItem "API BuyMerchantItem")(index\[, qty\]) - Buys an item from a merchant. [BuybackItem](https://wow.gamepedia.com/API_BuybackItem "API BuybackItem")(index) - Buys back a sold item. [CanAffordMerchantItem](https://wow.gamepedia.com/index.php?title=API_CanAffordMerchantItem&action=edit&redlink=1 "API CanAffordMerchantItem (page does not exist)")(index) [CanMerchantRepair](https://wow.gamepedia.com/API_CanMerchantRepair "API CanMerchantRepair")() - Returns true if the merchant can repair items. [CloseMerchant](https://wow.gamepedia.com/API_CloseMerchant "API CloseMerchant")() - Closes the merchant window. [ContainerRefundItemPurchase](https://wow.gamepedia.com/index.php?title=API_ContainerRefundItemPurchase&action=edit&redlink=1 "API ContainerRefundItemPurchase (page does not exist)")(index, slot\[, isEquipped\]) [GetBuybackItemInfo](https://wow.gamepedia.com/API_GetBuybackItemInfo "API GetBuybackItemInfo")(index) - Returns information about the buyback item. [GetBuybackItemLink](https://wow.gamepedia.com/index.php?title=API_GetBuybackItemLink&action=edit&redlink=1 "API GetBuybackItemLink (page does not exist)")(index) - Returns an[itemLink](https://wow.gamepedia.com/ItemLink "ItemLink")for the buyback item. [GetMerchantCurrencies](https://wow.gamepedia.com/index.php?title=API_GetMerchantCurrencies&action=edit&redlink=1 "API GetMerchantCurrencies (page does not exist)")() [GetMerchantFilter](https://wow.gamepedia.com/index.php?title=API_GetMerchantFilter&action=edit&redlink=1 "API GetMerchantFilter (page does not exist)")() [GetMerchantItemCostInfo](https://wow.gamepedia.com/API_GetMerchantItemCostInfo "API GetMerchantItemCostInfo")(index) - Returns "alternative currency" information about an item. [GetMerchantItemCostItem](https://wow.gamepedia.com/API_GetMerchantItemCostItem "API GetMerchantItemCostItem")(index, itemIndex) - Returns information about an "alternative currency" component of the price for a purchasable item. [GetMerchantItemID](https://wow.gamepedia.com/index.php?title=API_GetMerchantItemID&action=edit&redlink=1 "API GetMerchantItemID (page does not exist)")(index) [GetMerchantItemInfo](https://wow.gamepedia.com/API_GetMerchantItemInfo "API GetMerchantItemInfo")(index) - Returns information about the given purchasable item. [GetMerchantItemLink](https://wow.gamepedia.com/API_GetMerchantItemLink "API GetMerchantItemLink")(index) - Returns an[itemLink](https://wow.gamepedia.com/ItemLink "ItemLink")for the given purchasable item. [GetMerchantItemMaxStack](https://wow.gamepedia.com/API_GetMerchantItemMaxStack "API GetMerchantItemMaxStack")(index) - Returns the maximum number of items in a stack. [GetMerchantNumItems](https://wow.gamepedia.com/API_GetMerchantNumItems "API GetMerchantNumItems")() - Returns the number of items the merchant sells. [GetNumBuybackItems](https://wow.gamepedia.com/index.php?title=API_GetNumBuybackItems&action=edit&redlink=1 "API GetNumBuybackItems (page does not exist)")() - Returns number of items available for buyback. [GetRepairAllCost](https://wow.gamepedia.com/API_GetRepairAllCost "API GetRepairAllCost")() [RepairAllItems](https://wow.gamepedia.com/API_RepairAllItems "API RepairAllItems")(\[guildBankRepair\]) - Repairs all equipped and inventory items. [ResetSetMerchantFilter](https://wow.gamepedia.com/index.php?title=API_ResetSetMerchantFilter&action=edit&redlink=1 "API ResetSetMerchantFilter (page does not exist)")() [SetMerchantFilter](https://wow.gamepedia.com/index.php?title=API_SetMerchantFilter&action=edit&redlink=1 "API SetMerchantFilter (page does not exist)")()