Represents the constraints on quantity for a menu item being ordered
Nullable
minimumQuantity :
number (int)
The (inclusive) minimum allowed quantity of this item being ordered (non negative)
null will indicate that there is no minimum.
Nullable
maximumQuantity :
number (int)
The (inclusive) maximum allowed quantity of this item being ordered (non negative)
null will indicate that there is no maximum.
Nullable
defaultQuantity :
number (int)
The default quantity that will be pre-selected. It must conform to MinimumQuantity/MaximumQuantity
Nullable
MaxLength(64)
aboveDefaultQuantityProductModifierID :
string
This represents a RemoteOrderProduct.ProductModifierID that should be applied to the ordered
item if the ordered quantity is HIGHER than DefaultQuantity (exclusive)
Can be null. Will be ignored if DefaultQuantity is not also set.
If the RemoteOrderProduct.ProductModifierID has been already set by another option then this will
have no effect (typically this is expected to be used in conjunction with child attributes)
Nullable
MaxLength(64)
belowDefaultQuantityProductModifierID :
string
This represents a RemoteOrderProduct.ProductModifierID that should be applied to the ordered
item if the ordered quantity is LOWER than DefaultQuantity (exclusive)
Can be null. Will be ignored if DefaultQuantity is not also set.
If the RemoteOrderProduct.ProductModifierID has been already set by another option then this will
have no effect (typically this is expected to be used in conjunction with child attributes)
Nullable
ignoreIfDefaultQuantity :
bool
If set to true and the consumer orders a quantity of items matching DefaultQuantity do NOT create
a product / product attribute for this menu item. If the item being ignored has a price, ignore
that too.
This will be used to support listing child attributes like Pickles / Pineapple that are commonly
removed by consumers. If left default then those items aren't sent to the POS but if the user modifies
the quantities up/down then they will be sent (with the optional product modifiers if specified)
Example
{
"minimumQuantity": 321,
"maximumQuantity": 321,
"defaultQuantity": 321,
"aboveDefaultQuantityProductModifierID": "string value",
"belowDefaultQuantityProductModifierID": "string value",
"ignoreIfDefaultQuantity": true
}