Create recipe with ingredients
recipal_create_recipe_from_ingredientsWRITE: create a new recipe and its ingredient lines in one call. ingredients lists ingredient ids with the weight of each in grams. Optional yield, servings and packaging fields as in recipal_create_recipe. Creates a record in your ReciPal account. POST /recipes/shortcut.
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. | |
| labor_cost | No | Labor cost per batch. | |
| ingredients | Yes | Ingredient ids with their weights in grams (1-100 lines). | |
| 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. | |
| 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 (default 0). | |
| visual_unit_of_measure | No | Visual reference after the metric serving size on FDA labels, e.g. "5 chips". |