Docs
Dashboard

LineItemTargetInput

Input

Represents input for targeting specific line items with a discount.

#

Fields


predicate
String!

A predicate expression used to filter which line items the discount applies to.

Thor predicates are boolean expressions. Cart discounts and shipping rules evaluate against cart context; product discounts evaluate against price and product context. Cart predicate language and product predicate language.