update_recipe
Update a recipe's attributes by providing a recipe ID and a fields object with key-value pairs. Use get_recipe to identify exact attribute names, then submit changes.
Instructions
Update a recipe's attributes. PUT /recipes/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Open key/value object of attributes. Keys are passed straight through to the ReciPal API namespaced under the resource (e.g. {name, package_yield_quantity, package_yield_unit, servings, packages, suggested_serving, sku, preparation, visual_unit_of_measure}). Call get_recipe on an existing recipe first to see the exact attribute names this account uses. Note that tags cannot be set here -- ReciPal accepts the request and silently ignores a tags string, and errors on other shapes. Tags do carry forward through scale_recipe when cloning a tagged template. | |
| as_json | No | ||
| recipe_id | Yes |