Update recipe ingredient amount
recipal_update_recipe_ingredientWRITE: change the AMOUNT of one ingredient line in a recipe (unit, quantity, waste or total_grams; total_grams overrides unit and quantity). It cannot swap the ingredient: remove the line and add another instead. Changes the recipe's nutrition, label and cost. PUT /recipes/{recipe_id}/recipe_ingredients/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit, one of the ingredient's units. | |
| waste | No | Waste percent (0-100). | |
| quantity | No | Amount of the unit. | |
| recipe_id | Yes | ReciPal recipe id. | |
| total_grams | No | Weight in grams; overrides unit and quantity. | |
| recipe_ingredient_id | Yes | Recipe ingredient (line) id from recipal_list_recipe_ingredients. |