| id |
Integer |
The ID of loyalty program. Internal ID of this entity. |
|
| created |
OffsetDateTime |
The time this entity was created. |
|
| title |
String |
The display title for the Loyalty Program. |
|
| description |
String |
Description of our Loyalty Program. |
|
| subscribedApplications |
List<Integer> |
A list containing the IDs of all applications that are subscribed to this Loyalty Program. |
|
| defaultValidity |
String |
The default duration after which new loyalty points should expire. Can be 'unlimited' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. |
|
| defaultPending |
String |
The default duration of the pending time after which points should be valid. Can be 'immediate' or a specific time. The time format is a number followed by one letter indicating the time unit, like '30s', '40m', '1h', '5D', '7W', or 10M'. These rounding suffixes are also supported: - '_D' for rounding down. Can be used as a suffix after 'D', and signifies the start of the day. - '_U' for rounding up. Can be used as a suffix after 'D', 'W', and 'M', and signifies the end of the day, week, and month. |
|
| allowSubledger |
Boolean |
Indicates if this program supports subledgers inside the program. |
|
| usersPerCardLimit |
Integer |
The max amount of user profiles with whom a card can be shared. This can be set to 0 for no limit. This property is only used when `cardBased` is `true`. |
[optional] |
| sandbox |
Boolean |
Indicates if this program is a live or sandbox program. Programs of a given type can only be connected to Applications of the same type. |
|
| accountID |
Integer |
The ID of the Talon.One account that owns this program. |
|
| name |
String |
The internal name for the Loyalty Program. This is an immutable value. |
|
| tiers |
List<LoyaltyTier> |
The tiers in this loyalty program. |
[optional] |
| timezone |
String |
A string containing an IANA timezone descriptor. |
|
| cardBased |
Boolean |
Defines the type of loyalty program: - `true`: the program is a card-based. - `false`: the program is profile-based. |
|