Lore archive · Warcraft Wiki, 2023 dump
API C AuctionHouse.PostCommodity
Last wiki revision 2023-07-08
Posts a commodity item on the auction house. needsConfirmation = C_AuctionHouse.PostCommodity(item, duration, quantity, unitPrice)
- item:
- duration:
- quantity:
- unitPrice: - Amount in copper, only accepts gold and silver and silently fails for non-zero copper counts.
- needsConfirmation: boolean
Auctions 14 units of the commodity item in the topleft corner of your default backpack, for 48 hours with a 27 silver price per unit.
- Presses the "Create Auction" button, in a macro suitable format which uses a secure template.
/run AuctionHouseFrame.CommoditiesSellFrame.PostButton:Click
- This would brick the Auction House.
- https://www.curseforge.com/wow/addons/magic-button/ - Adds macros for keybinds to buy, post, and cancel on the auction house.
Source
https://warcraft.wiki.gg/wiki/API_C_AuctionHouse.PostCommodity · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.