MenuSnapshotModifierOption
One option inside a modifier group. An option is an item in its own right, so it carries every item field — including its OWN modifierGroups (nested modifiers) — plus these.
Fields
- idstring
OneTablet item id (for a modifier option, the option's own id — see
itemId). - namestring
The name shown to customers.
- descriptionstring
The description shown to customers;
nullwhen there is none. - availableboolean
Whether it was orderable (in stock) at publish time.
- sortIdnumber
Its
0-based position among its siblings;nullon some older modifier options. - priceInfoMenuSnapshotPriceInfo
Its prices.
- modifierGroupsMenuSnapshotModifierGroup[]
The modifier groups offered on it, in display order; empty when it has none.
- imagestring
URL of its customer-facing image;
nullwhen there is none. - POSImagestring
URL of the image shown on the OneTablet POS;
nullor empty when there is none. - showInPOSboolean
Whether it is shown on the OneTablet POS.
- alwaysInStockboolean
truewhen it never goes out of stock, so availability updates skip it. - managedByModifiersboolean
truewhen its availability follows its modifier options rather than being set on it. - isAlcoholicboolean
truewhen it contains alcohol. - allowableOrderTypesstring[]
The order types it may be sold in, e.g.
STANDARD,CATERING. Absent on older snapshots, which predate the field. - itemIdstring
OneTablet id of the item this option sells;
idis the option's own id. - defaultboolean
truewhen the option is pre-selected. - defaultQuantitystring
The quantity pre-selected when
defaultistrue, as a numeric string. - minQuantitynumber
Minimum quantity of this option the customer must choose.
- maxQuantitynumber
Maximum quantity of this option the customer may choose.