create_recipe_ingredient
Add an ingredient to a recipe by providing the ingredient ID and either a unit with quantity or total grams, updating the recipe's ingredient list for nutrition labeling.
Instructions
Add an ingredient line to a recipe. POST /recipes/{id}/recipe_ingredients. Accepts ingredient_id (required) plus unit + quantity, or total_grams.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | {ingredient_id (required), unit?, quantity?, waste?, total_grams?}. unit must be one of the ingredient's available units. | |
| as_json | No | ||
| recipe_id | Yes |