Log entry for a given loyalty card transaction.
Name | Type | Description | Notes |
---|---|---|---|
created | datetime | Date and time the loyalty transaction occurred. | |
program_id | int | ID of the loyalty program. | |
customer_session_id | str | ID of the customer session where the transaction occurred. | [optional] |
type | str | Type of transaction. Possible values: - `addition`: Signifies added points. - `subtraction`: Signifies deducted points. | |
name | str | Name or reason of the loyalty ledger transaction. | |
start_date | str | When points become active. Possible values: - `immediate`: Points are immediately active. - a timestamp value: Points become active at a given date and time. | |
expiry_date | str | Date when points expire. Possible values are: - `unlimited`: Points have no expiration date. - `timestamp value`: Points expire on the given date. | |
subledger_id | str | ID of the subledger. | |
amount | float | Amount of loyalty points added or deducted in the transaction. | |
id | int | ID of the loyalty ledger transaction. | |
ruleset_id | int | The ID of the ruleset containing the rule that triggered this effect. | [optional] |
rule_name | str | The name of the rule that triggered this effect. | [optional] |