modifying an api for displaying product options