update_recipe
Update an existing recipe by modifying its details and ingredient list. Specify only the fields to change and use the _destroy flag to remove ingredients.
Instructions
Update an existing recipe. Pass only the fields you want to change. To remove an ingredient include {id, _destroy: true} in ingredients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| fat | No | ||
| url | No | ||
| draft | No | ||
| fiber | No | ||
| sugar | No | ||
| title | No | ||
| yield | No | ||
| rating | No | ||
| sodium | No | ||
| source | No | ||
| private | No | ||
| protein | No | ||
| calories | No | ||
| servings | No | ||
| cook_time | No | Minutes | |
| course_id | No | ||
| prep_time | No | Minutes | |
| cuisine_id | No | ||
| directions | No | ||
| tag_titles | No | Comma-separated list of tag names | |
| total_time | No | Minutes | |
| cholesterol | No | ||
| description | No | ||
| ingredients | No | Maps to recipe_ingredients_attributes on the wire | |
| carbohydrate | No | ||
| saturated_fat | No | ||
| main_ingredient_id | No |