Modifier Group
Modifier Groups contain all the Modifiers for a certain modification of the Item Family. I.E Drink Choice
Properties
| Name | Type | Description |
|---|---|---|
| _id | string | Used for associating entities together, does not map to a specific system |
| name | string | Name of the Item to Display |
| default_modifier_quantities | object | Key-value object of modifier._id -> quantity for default selections |
| min_unique | integer | Minimum number of selections required across this group. When selection_type is single: each selection must be a distinct option, so a value of 2 requires 2 different modifiers. When selection_type is multiple: this only validates total quantity picked — the same modifier may be selected more than once toward this minimum. |
| max_unique | integer | Maximum number of selections allowed across this group. When selection_type is single: each selection must be a distinct option, so a value of 2 requires 2 different modifiers. When selection_type is multiple: this only validates total quantity picked — the same modifier may be selected more than once toward this maximum. |
| max_free | integer | Maximum amount of free selections across this group |
| selection_type | string | Specifies if a quanity can be attributed for a modifier selection. enum: single, multiple ex. if multiple, user may select 2 qty of modifier "Side of Ranch" |
| modifier_ids | string[] | Array of Modifier IDs that belong to this Modifier Group |