Promotion Rule Configuration (GET, POST)
Create the rule configuration or fetch the rule configiration details for a given promotion ID. This API defines how a promotion works by combining eligibility criteria (what customers must di), rewards logic (what customers receive), target audience (who receives the reward), and template driven behavior. Each promotion can contain multiple rules, ordered by priority.
60.0
GET POST
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
eventConfiguration | Map<String, Object>[] | List of criteria that decides when customers are eligible for the rewards of the promotion rule. | Required | 60.0 |
journalSubType | String | ID of the journal sub type. | Required when journalType is used | 60.0 |
journalSubTypeName | String | Name of the journal sub type. | Required when journalType is used | 64.0 |
journalType | String | Name of the journal sub type. | Required for loyalty accrual or redemption templates | 60.0 |
priority | Integer | Priority number of the rule in the promotion. | Required | 60.0 |
promotionLimit | Integer | Milestone limit of the promotion. | Optional | 63.0 |
rewardConfiguration | Map<String, Object>[] | List of rewards that members get when their activity meets the rule’s eligibility criteria. | Required | 60.0 |
ruleName | String | Name of the promotion rule. | Required | 60.0 |
templateName | String | Name of the promotion template used in a promotion rule. | Required | 60.0 |