C_AuctionHouse.SendSellSearchQuery

From Warcraft Wiki
Jump to navigation Jump to search

Search for all auctions that are variants of a piece of gear, determined a specific item ID.

C_AuctionHouse.SendSellSearchQuery(itemKey, sorts, separateOwnerItems)

Arguments

itemKey
ItemKey
Field Type Description
itemID number
itemLevel number? = 0
itemSuffix number? = 0
battlePetSpeciesID number? = 0
sorts
AuctionHouseSortType[]
Field Type Description
sortOrder Enum.AuctionHouseSortOrder?
reverseSort boolean?
Enum.AuctionHouseSortOrder
Value Field Description
0 Price
1 Name
2 Level
3 Bid
4 Buyout
5 TimeRemaining Only works for Owned auctions. Added in 9.0.1
separateOwnerItems
boolean

Details

  • This is unable to be used to query anything other than gear variants for a single piece of gear.
  • The itemKey parameter must have the itemLevel, itemSuffix and battlePetSpeciesID properties set to 0, with the itemID property set to the gear's item ID.
  • Search queries are restricted to 100 calls per minute. These should not be used to query the entire auction house. See C_AuctionHouse.ReplicateItems(). ItemKey should have its iLVL and suffix cleared before calling.

Patch changes

Battle for Azeroth Patch 8.3.0 (2020-01-14): Added.

See also