Earning Rules
Earning Rule object
Reference for the earning rule object in the JavaScript SDK.
An earning rule represents an action that can be completed by a customer to earn a reward. Common examples include earning points per dollar spent for placing an order, or earning points for following a social media account. Earning rules can be preloaded.