Skip to main content

Create a Loyalty Rule

warning

This page covers the Legacy Rules Engine. For the new engine, see Earning Rules.

A Loyalty Rule defines when a customer earns points (or a reward) and how many. Go to Promotional Campaigns β†’ Points & Wallet β†’ Rules β†’ Create new loyalty rule.

How It Works​

  1. You define the rule with a trigger event and an accumulation type (fixed, per currency spent, per chunks, etc.).
  2. Victory conditions narrow eligibility: specific products, store, tier, payment method, or customer attributes.
  3. Limits cap how many times the rule can fire per customer.
  4. Validity settings control the rule's active date range and recurrence.
  5. When the trigger fires, all active matching rules are evaluated. Qualifying rules award points, subject to activation delay and expiration settings.
info

Configuration changes take effect within up to 5 minutes after saving.

Configuration​

Section 1: Details​

FieldDescription
LanguagesSelect one or more languages for the rule name and description
NameDisplay name of the rule (required per selected language)
DescriptionBrief explanation of the rule's purpose (per language)

Section 2: Award Value​

First, select the event (trigger) that activates the rule β€” this is the action or moment that will award the customer. Then choose the award type:

Award typeWhen availableDescription
PointsAll eventsCustomer earns a points balance
RewardsChallenges and custom events onlyCustomer receives an automatic reward or coupon redemption

Accumulation Types (when Award type = Points)​

TypeBehaviorApplies to
Per amount spentPoints proportional to currency spent. Multiplier Γ— total amount (rounded). Calculated line by line.After creating a ticket
Fixed amountFlat points per event. Applies once per ticket (or once per trigger).All events
Fixed amount per lineFlat points per eligible line item in the ticket. Useful for product-specific rewards.After creating a ticket
Per chunksFixed points for each threshold of currency reached. E.g., 1 point per €5 spent. Points distributed across lines by weighted criteria.After creating a ticket
Percent amount (based on line total)Points = X% of each line's monetary value (decimal values accepted, e.g., 0.8%). Calculated line by line.After creating a ticket
Percent amount (based on cashback conversion)Points = X% of each line total converted to points using the Score Exchange rate. Requires a Score Exchange to be defined for each currency.After creating a ticket

:::note Accumulation type availability Per chunks and Per amount spent can only be used with the After creating a ticket trigger. Manual and Refer a friend moments only support Fixed amount. :::

Points transferability: Check Transferable points to allow customers to transfer points earned by this rule to other customers.

Reward Rules (when Award type = Rewards)​

Select from rewards previously created with redemption type = Loyalty Rule. This award type is only available for challenges and custom entities β€” not yet available for purchases or trigger-based events.


Section 3: Victory Conditions​

Victory conditions are restrictions that must be met for the customer to receive the award. A rule without any conditions grants points to all qualifying customers for any purchase.

ConditionDescription
Selected countriesCountry of the purchase store, or customer's registration country for trigger events
TiersRestrict to customers in specific loyalty tiers
StoresRestrict to specific store locations
Store categoriesRestrict to store category groups
ProductsRestrict to a specific list of products
Product featuresRestrict to specific product categories
Payment methodsRestrict to specific payment methods
Total ticket amountSet min/max cart value β€” rule only fires if total is within range
Customer registration countriesRestrict to customers registered in specific countries (independent of purchase store country)
Necessary properties of the lineRestrict by custom ticket line fields (only for After create activity moment)
Necessary properties of the customerRestrict by custom customer fields

Condition operators​

OperatorBehavior
Include someAward points if the ticket/customer contains any of the selected values
Exclude allAward points if the ticket/customer contains none of the selected values
EqualAward points if the line or customer field matches the specified value
Not equalAward points if the line or customer field does not match the specified value

:::note Registration country example A rule defined for stores in Spain, Argentina, and Chile with customer registration = Spain will apply when a Spain-registered customer purchases in Argentina β€” but NOT when a France-registered customer purchases in Argentina. :::


Section 4: Limits​

Control how many times a customer can earn from this rule:

OptionBehavior
AlwaysNo limit β€” the customer can earn from this rule indefinitely
Number of times per year (relative)Max wins in the last rolling 12 months
Number of times per month (relative)Max wins in the last rolling month
Number of times per year (natural)Max wins in the current calendar year
Number of times per month (natural)Max wins in the current calendar month
Number of times per natural dayMax wins in the current calendar day (00:00–23:59)
Total number of timesMax wins across all history (no date limit)
info

The ticket creation date (not the API request time) is used when checking win limits. This matters for backdated ticket imports.


Section 5: Validity of Points Awarded​

Configure when earned points become available and when they expire.

Activation​

Set a delay before earned points can be spent:

  • Since its obtaining: number of days or months after earning before points activate
  • At the beginning of the month: if using months, optionally activate points on the 1st of the month instead of the exact date

Setting activation to 0 days makes points immediately available.

Expiration​

Two modes:

Relative period β€” expiry calculated from when the customer earns the points:

  • Set number of days or months after earning
  • Optional: expire on the last day of the natural month

Fixed period β€” expiry at a calendar milestone regardless of earn date:

OptionExpiry date
End of calendar monthLast day of the month points were earned
End of calendar quarterMarch 31, June 30, September 30, or December 31
End of calendar semesterJune 30 or December 31
End of calendar yearDecember 31

:::note First-to-expire, first-to-use When a customer redeems points, the system always uses points closest to expiry first β€” regardless of when they were earned. This minimizes accidental expiry. :::

:::note Customer timezone Points activation and expiration are calculated based on the customer's timezone, not the store's timezone. A purchase in Spain by an Australian customer will have a different activation date than the same purchase by a Hawaiian customer. :::


Section 6: Validity of the Loyalty Rule​

Define when the loyalty rule itself is active:

FieldDescription
Valid sinceStart date β€” rule becomes active and begins awarding from this date
Valid untilEnd date β€” rule stops awarding after this date
StatusManually set to Enabled or Disabled independent of dates

Recurrence type: control which days within the validity period the rule applies:

RecurrenceBehavior
Daily (default)Rule applies every day within the validity period
WeeklySelect specific days of the week (e.g., Wednesdays and Fridays only)
MonthlySelect specific days of the month (e.g., 1st and 15th). Note: months with fewer days than selected will be skipped
Monthly (last day of month)Applies only on the last day of each month (28th/29th for February, 30th or 31st for other months)

Section 7: Partner​

Optionally associate a partner (supplier or sponsor) with this loyalty rule for cost attribution and reporting.