Coupon bulk operations error
Problem Statement
This article helps you resolve the error param coupon[apply_on] is not applicable for used coupon when updating coupons via bulk operation to make them applicable to new items in the product catalog.
Solution
The apply_on parameter defines the amount on the invoice to which the coupon is applied. It cannot be changed for coupons that are already in use. To add more plans, addons, or charges, use the item_constraints parameters instead.
Steps to Set It Up
- Remove the
apply_onvalue from your bulk operation sheet. - Update
coupon[plan_constraint]orcoupon[addon_constraint]using the Coupons API documentation as reference. - Re-run the bulk operation.
Was this article helpful?