Update ingredient cost
recipal_update_ingredient_costWRITE: change an existing ingredient cost entry (date, unit, quantity, price, shipping); fields you leave out stay unchanged. Changes recipe costs that depend on it. Not allowed for subrecipe ingredients. PUT /ingredient_costs/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | A unit of the ingredient. | |
| price | No | Price for quantity x unit. | |
| quantity | No | How much of the unit the price covers. | |
| shipping | No | Shipping for quantity x unit. | |
| effective_at | No | New effective date, yyyy-mm-dd (unique per ingredient). | |
| ingredient_cost_id | Yes | Ingredient cost id. |