item_details: vendor_value and NoSell flag
smiley.1438:
I stumbled across this combination here:
https://api.guildwars2.com/v1/item_details.json?item_id=46507
Just to be clear: does the “NoSell” flag always mean that you can’t sell this item to a merchant and no value is shown in the items tooltip? Or are there any special cases where vendor_value is required? Wouldn’t it be better to just unset vendor_value if “NoSell” is set?
poebel.4780:
So far I have not found a single item with the “NoSell” flag were the vendor_value is used for something.
There are more than 5000 items with this combination, see here for a complete list:
http://quaggan.de/en/items.html?filter[vendor_value][min]=1&filter[flags][]=NoSell&filter[flags][set]=1
(you have to copy the url by hand, the gw2 forum is a bit buggy …)
I guess some of them were intended to be sellable (Dyes?) and others were just given a value because they fit in a specific “category” (i.e. fine light armor with level 50)
smiley.1438:
I know of these other items (currently ~5303). Another guess was that vendor_value is used as minimum price in the AH, but this doesn’t make any sense in combination with the “AccountBound” flag either.
Dr Ishmael.9685:
The NoSell flag hides items from both the Trading Post and vendor lists. It’s likely that the vendor_value gets set at a different stage of development, and whoever sets the NoSell flag just doesn’t bother to zero-out the vendor_value.
poebel.4780:
Nope, items with NoSell flag are tradable via the trading post (unless they are account or soulbound)
Dr Ishmael.9685:
You’re right, I forgot about food. There must be a separate NoAuctionHouse flag that isn’t currently being exposed through the API. The rest of my point stands.
poebel.4780:
Afaik it has nothing like an NoAuctionHouse flag, thats indicated by the items beeing account or soulbound.
(An additional flag would just be redundant.)
Stephane Lo Presti.7258:
Hi everyone,
Please note that from now on, we’re suggesting that you report all errors and bugs related to the API in this stickied thread:
https://forum-en.guildwars2.com/forum/community/api/API-errors-bugs/
Thank you.