RelatedItem (v2)
Items may have relations to other items (like recommended additions or as ingredient)
| # | Field | Type | Description |
|---|---|---|---|
| 0 | iid | int | item that is referenced |
| 1 | rid | int | item that references |
| 2 | amount | double | amount (e.g. in case of ingredients) |
| 3 | unitid | int | unit reference |
| 4 | unitName | string | unit name (translatable) |
| 5 | unitType | string | S for pices, W for a weighted unit |
| 6 | relationType | int | type of relation |
| 7 | note | string | Note about this relation (translatable) |
| 8 | indexAmount | double | TBD |
Used in endpoints
- /api/assortment13
- /api/item1
- /api/items20
- /api/items21
- /api/items22
- /api/items23
- /api/order27
- /api/order28
- /api/order29
- /api/search2