Add function to query a product by id.
api test