Badges

Badges are a visual form of recognition used within loyalty programs to acknowledge customers for their progress, specific actions, or achievements. They serve as a means of gamification, instilling a sense of pride and accomplishment within users, reinforcing targeted behaviors, and enhancing engagement.

Supported fields and objects

ObjectField NameDescriptionMandatory/Optional
GeneralorgIdUnique ID associated with the brand.Mandatory
idUnique id of the badge.Mandatory
nameName for the badge.Mandatory
descriptionDetailed description of the badge.Optional
startOnStart date of the badge.
Timestamp in the ISO 8601 standard format format YYYY-MM-DDTHH:MM:SS.SSSZ, where:

- YYYY: Year with four digits (e.g., 2024)
- MM: Month with two digits (01 for January, 02 for February, and so on)
- DD: Day with two digits (01 to 31)
- T: Separator between date and time
- HH: Hour with two digits in 24-hour format (00 to 23)
- MM: Minutes with two digits (00 to 59)
- SS: Seconds with two digits (00 to 59)
- SSS: Milliseconds with three digits (000 to 999)
- Z: Indicates that the timestamp is in UTC (Coordinated Universal Time) timezone
Mandatory
expiresOnExpiry of the badge.
Timestamp in the ISO 8601 standard format format YYYY-MM-DDTHH:MM:SS.SSSZ, where:

- YYYY: Year with four digits (e.g., 2024)
- MM: Month with two digits (01 for January, 02 for February, and so on)
- DD: Day with two digits (01 to 31)
- T: Separator between date and time
- HH: Hour with two digits in 24-hour format (00 to 23)
- MM: Minutes with two digits (00 to 59)
- SS: Seconds with two digits (00 to 59)
- SSS: Milliseconds with three digits (000 to 999)
- Z: Indicates that the timestamp is in UTC (Coordinated Universal Time) timezone
Mandatory
activeActivation flag on top of status of the badge.Mandatory
Earned Badge ExpiryexpiryTypeDefines how the badge expiry is calculated.Mandatory
typeFor ABSOLUTE expiryType.
expiresOnFor FIXED_DATE type.
expireWithBadgeMetaFor WITH_BADGE_META type.
relativeExpiryTypeFor RELATIVE expiryType.
valueNumber of days/weeks/months for RELATIVE expiryType.
Issued Badge ExpirySame as Earned Badge ExpirySame structure as Earned Badge Expiry.Mandatory
Customer ConstraintsconstraintTypeType of customer constraint.Optional
maxEarnLimitFor CUSTOMER_BADGE_FIXED_VALUE.
maxEarnForDaysFor CUSTOMER_BADGE_ROLLING_WINDOW.
rollForDaysRolling window in days.
maxEarnForWeeksMaximum earn for weeks.
rollForWeeksRolling window in weeks.
maxEarnForMonthsMaximum earn for months.
rollForMonthsRolling window in months.
Badge ConstraintsconstraintTypeType of badge constraint.Optional
maxEarnLimitFor BADGE_FIXED_VALUE.
rollTypeFor BADGE_ROLLING_WINDOW.
rollValueRolling value for BADGE_ROLLING_WINDOW.
ImagesnameName of the badge image.Optional
fileSvcHandleOptional
urlOptional
tagTag for image state.Optional
OwnershiprestrictedToOwnersDefining an owner for the badge is mandatory.Mandatory
ClaimsModules that have claimed the badge and the reference ID for the module.Optional
BenefitsbenefitTypeType of benefit linked to the badge.Optional
seriesIdRequired if benefitType is COUPON.
programIdRequired if benefitType is LOYALTY_POINTS.
promotionIdRequired if benefitType is LOYALTY_POINTS.
allocationStrategyIdRequired if benefitType is LOYALTY_POINTS.
expirationStrategyIdRequired if benefitType is LOYALTY_POINTS.
TagsnameName of the custom field.Optional
valueValue of the custom field.Optional