apply new API for buy/sell items