Map Ingredients to Grocery Products

POST {{baseUrl}}/food/ingredients/map

Map a set of ingredients to products you can buy in the grocery store.

Request Body

{"ingredients"=>["eggs", "bacon"], "servings"=>2}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

[{"original":"eggs","originalName":"eggs","ingredientImage":"egg.png","meta":["egg"],"products":[{"id":209945,"title":"Crystal Farms Eggs - Fresh Accents Peeled Hard Cooked 2 ct Packs","upc":"075925889498"},{"id":214723,"title":"Organic Valley Eggs - Organic Medium Brown","upc":"093966811100"},{"id":183228,"title":"Eggland's Best Grade A Eggs Jumbo - 12 CT","upc":"715141328615"}]},{"ingredientImage":"raw-bacon.png","meta":["bacon"],"original":"bacon","originalName":"bacon","products":[{"id":159164,"title":"Wright Bacon - Naturally Hickory Smoked","upc":"079621461552"},{"id":87924,"title":"Sugardale Bacon","upc":"073890006025"},{"id":213315,"title":"John Morrell Bacon - Applewood Smoked","upc":"070100060877"},{"id":94585,"title":"Hormel Black Label Bacon Thick Cut","upc":"037600153041"}]}]