created an api for get product options for the product add page