Program Object


A loyalty program allows sites to maintain customer reward accounts. Wix users can create a loyalty program to increase customer retention. Read more about the loyalty program.

Properties
assignPointsForOldOrdersboolean

Whether to assign points for orders that were created more than 30 days before they were updated or paid.

By default (false), points are not assigned to such orders. This guards against retroactively awarding points for orders that predate an earning rule. Enable this (true) for sites where customers legitimately order far in advance and pay later (for example, bookings paid on the day of the session or manual payments).

Default: false


createdDatestringRead-onlyformat date-time

Date and time the program was created.


namestringminLength 2maxLength 50

Program name.


pointDefinitionPointDefinition

Details about the program's collectible unit.


pointsExpirationPointsExpiration

Configuration for the points expiration feature.


premiumFeaturesPremiumFeaturesRead-only

Information about the available program premium features.


statusstringRead-only

updatedDatestringRead-onlyformat date-time

Date and time the program was updated.

Did this help?