Update recipe
recipal_update_recipeWRITE: change fields of one recipe; fields you leave out stay unchanged. package_yield_quantity "default" sets the package weight to the total weight of the current ingredients (no moisture loss accounted for); ingredient_list "default" rebuilds the label ingredient list in descending weight order. Changes labels and costs of this recipe. Tags cannot be set here. PUT /recipes/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Your SKU. | |
| name | No | Recipe name. | |
| packages | No | Number of packages the recipe yields per batch (0 or more). | |
| servings | No | Servings per package (at least 1). | |
| allergens | No | Allergens by name, e.g. {"Milk": true, "Almond": true, "other-shellfish": "Oyster"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, Hazelnut, Macadamia nut, Pecan, Pine nut, Pistachio, Walnut ...), Gluten (Barley, Oats, Rye, Triticale). other-milk/-egg/-fish/-shellfish/-treenut take a free-text source. An empty object {} clears all allergens. | |
| recipe_id | Yes | ReciPal recipe id. | |
| labor_cost | No | Labor cost per batch. | |
| preparation | No | Preparation instructions for staff. | |
| overhead_cost | No | Overhead cost per batch (rent, electricity, equipment ...). | |
| packaging_cost | No | Cost per package of direct and secondary packaging. | |
| subrecipe_name | No | Name shown when this recipe is used as a subrecipe in another recipe's ingredient list. | |
| ingredient_list | No | Ingredient list text for the label, or "default" to rebuild it from the ingredients. | |
| suggested_serving | No | Suggested serving in common terms, e.g. "1 piece or 1 cup". | |
| package_yield_unit | No | Unit of the finished package weight: "grams" (default), "ounces", "mL" or "fluid ounces". | |
| prepared_serving_note | No | Note after the serving size on FDA labels, e.g. "makes 1 cup prepared". | |
| subrecipe_name_french | No | French name shown when used as a subrecipe. | |
| package_yield_quantity | No | Net weight of each finished package in package_yield_unit, or "default" to total the ingredient weights. | |
| visual_unit_of_measure | No | Visual reference after the metric serving size on FDA labels, e.g. "5 chips". |