Inventory Recipes
Recipe definitions for menu items.
Fields
| Field | Type | Required | Version | Description |
|---|---|---|---|---|
id |
guid | Yes | 1.1.2 | Unique recipe identifier |
name |
string | Yes | 1.1.2 | Recipe name |
articleId |
guid | No | 1.1.2 | Reference to Article (menu item) |
customerId |
integer | Yes | 1.1.2 | Reference to Customer |
yield |
float | No | 1.1.2 | Recipe yield (portions) |
yieldUnit |
string | No | 1.1.2 | Yield unit |
costPerYield |
float | No | 1.1.2 | Calculated cost per yield |
instructions |
string | No | 1.1.2 | Preparation instructions |
active |
boolean | No | 1.1.2 | Recipe active status |
Example
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Grilled Salmon with Vegetables",
"articleId": "article-salmon-dish-id",
"customerId": 12345,
"yield": 1.0,
"yieldUnit": "portion",
"costPerYield": 85.50,
"instructions": "1. Season salmon fillet...\n2. Grill for 4-5 minutes each side...",
"active": true
}
Example - Multiple Recipes
[
{
"id": "recipe-salmon-id",
"name": "Grilled Salmon with Vegetables",
"articleId": "article-salmon-dish-id",
"customerId": 12345,
"yield": 1.0,
"yieldUnit": "portion",
"costPerYield": 85.50,
"instructions": null,
"active": true
},
{
"id": "recipe-burger-id",
"name": "Burger Deluxe",
"articleId": "article-burger-id",
"customerId": 12345,
"yield": 1.0,
"yieldUnit": "portion",
"costPerYield": 42.00,
"instructions": null,
"active": true
},
{
"id": "recipe-soup-id",
"name": "Daily Soup Base",
"articleId": null,
"customerId": 12345,
"yield": 10.0,
"yieldUnit": "portions",
"costPerYield": 12.50,
"instructions": null,
"active": true
}
]
Related Entities
- Customer - Parent customer/tenant
- Article - Menu item using recipe
- InventoryRecipeItem - Recipe ingredients