Skip to main content

IncentiveActions

Available actions that can be executed by incentive business rules to provide customer benefits and promotional offers

enum IncentiveActions {
ADD_PRODUCT_TO_BONUS_ITEMS
DUPLICATE_PRODUCT_IN_BONUS_ITEMS
MOVE_PRODUCT_TO_BONUS_ITEMS
DUPLICATE_CHEAPEST_IN_BONUS_ITEMS
GIVE_DISCOUNT_TO_CHEAPEST_ITEM
GIVE_DISCOUNT_TO_ORDER_ITEM
GIVE_DISCOUNT_TO_ORDER_TOTAL
SET_SHIPPING_COSTS
SET_SHIPPING_TAXCODE
SET_TRANSACTION_COSTS
}

Values

IncentiveActions.ADD_PRODUCT_TO_BONUS_ITEMS

Add a specific product to the order as a bonus item without charge. Used for promotional giveaways and product bundling.

IncentiveActions.DUPLICATE_PRODUCT_IN_BONUS_ITEMS

IncentiveActions.MOVE_PRODUCT_TO_BONUS_ITEMS

IncentiveActions.DUPLICATE_CHEAPEST_IN_BONUS_ITEMS

IncentiveActions.GIVE_DISCOUNT_TO_CHEAPEST_ITEM

Apply a discount to the lowest-priced item in the order. Common for 'buy X get cheapest free' promotions.

IncentiveActions.GIVE_DISCOUNT_TO_ORDER_ITEM

IncentiveActions.GIVE_DISCOUNT_TO_ORDER_TOTAL

Apply a discount to the entire order total. Used for percentage or fixed amount discounts on the complete purchase.

IncentiveActions.SET_SHIPPING_COSTS

Override shipping costs with a specific amount. Used for free shipping promotions or special shipping rates.

IncentiveActions.SET_SHIPPING_TAXCODE

IncentiveActions.SET_TRANSACTION_COSTS

Member Of

IncentiveRuleSetActionInput input