Modifiers (Object)

A modifier is an item that may accompany a base item. For example, if the base item is a hamburger, a modifier could be pepper jack cheese.

  • clauses
    Type: array object[]

    List of clauses for filtering modifier items. The modifiers discount will be applied only if filter_item_set is set to modifiers_only or base_and_modifiers.

  • max_discount_units
    Type: integer

    This value limits the number of units that can be discounted. A unit may be an individual menu item or a menu item bundle, depending on the configured processing function.

  • processing_method
    Type: string

    States how the modifiers will be selected for further processing when max_discount_units are defined. Possible values:

    • max_price - Specifies that the most expensive modifiers are discounted first
    • min_price - Specifies that the least expensive modifiers are discounted first