IncentiveRuleRowInput
One row of an incentive rule: its conditions and the incentive it applies
input IncentiveRuleRowInput {
id: ID
conditions: [IncentiveRuleConditionInput!] = []
orderItemConditions: BusinessRuleExpressionGroupInput
action: IncentiveAction!
name: [LocalizedStringInput!]!
params: IncentiveRuleParamsInput
}
Fields
IncentiveRuleRowInput.id ● ID scalar
The row's id. Send the existing id to keep it; omitted, an id is generated
IncentiveRuleRowInput.conditions ● [IncentiveRuleConditionInput!] list input
Conditions on order fields other than order.items, at most one per field
IncentiveRuleRowInput.orderItemConditions ● BusinessRuleExpressionGroupInput input
The condition on the order items: one or more complex expressions. The path is set to order.items by the server. Omitted, the row applies to the whole order.
IncentiveRuleRowInput.action ● IncentiveAction! non-null enum
IncentiveRuleRowInput.name ● [LocalizedStringInput!]! non-null input
IncentiveRuleRowInput.params ● IncentiveRuleParamsInput input
Member Of
IncentiveRuleSaveInput input