Line Item Selector (Object)
Shows the details of the line item selector (LIS) associated with the qualification criteria (QC)
- baseType: object · Base Items (Object)
_items When building a new line item selector (LIS), you will define a base item, a modifier, or both. A base item is the 'main' item. For example, a hamburger.
- clausesType: array object[]
List of clauses for filtering base items. The base item discount will be applied only if
filter_item_setis set to base_only or base_and_modifiers.
- excludeType: boolean
_non _payable When one or more discounts are returned as a modifier to the base item, and if the net amount for the modifier after the discount(s) is zero, the items will be excluded from the LIS. As a result, the item will not be considered when evaluating a receipt using the qualification criteria (QC) to which the LIS is linked. However, the base of the same LIS can be evaluated for additional discounting. Possible values: true, false
Note: Applicable when
filter_item_setis set to base_and_modifiers - externalType: string
_id External transaction identifier (UUID) sent by the external system to track if a particular entity is successfully created in the Punchh system
- filterType: string
_item _set The value determines which item(s) will be eligible for the discount. Possible values:
- base_only: The line item selector (LIS) will be considered a base item, and the discount will be applied to the base item value only.
- modifiers_only: The line item selector (LIS) will be considered a modifier, and a discount will be applied to the modifier amount value only.
- base_and_modifiers: The discount will be applied to the base and modifier total value.
- modifiersType: object · 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.
- clausesType: array object[]
List of clauses for filtering modifier items. The modifiers discount will be applied only if
filter_item_setis set to modifiers_only or base_and_modifiers. - maxType: integer
_discount _units 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.
- processingType: string
_method States how the modifiers will be selected for further processing when
max_discount_unitsare 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
- nameType: string
Name of the line item selector (LIS)