Skip to main content

IncentiveRuleParamsInput

The parameters of an incentive action, as in incentiveRuleSetAction

input IncentiveRuleParamsInput {
productId: Int
price: Float
quantity: Int
discount: Float
discountType: IncentiveDiscountType
valuePoints: Float
repeat: YesNo = N
actionCode: String
}

Fields​

IncentiveRuleParamsInput.productId ● Int scalar​

IncentiveRuleParamsInput.price ● Float scalar​

IncentiveRuleParamsInput.quantity ● Int scalar​

IncentiveRuleParamsInput.discount ● Float scalar​

IncentiveRuleParamsInput.discountType ● IncentiveDiscountType enum​

IncentiveRuleParamsInput.valuePoints ● Float scalar​

IncentiveRuleParamsInput.repeat ● YesNo enum​

IncentiveRuleParamsInput.actionCode ● String scalar​

The action code that was applied by this rule. Should match the order.actionCode field in the inputs

Member Of​

IncentiveRuleRowInput input