expose api to return product ids