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.
Resource
1 /global-promotions-management/promotions/PROMOTION_ID/rule-configuration
Resource Example
1 https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/global-promotions-management/promotions/PROMOTION_ID/rule-configuration
Available Version
60.0
HTTP Methods
GET POST
Response Body for GET
Template List Configuration
Request Body for POST
Properties
Name Type Description Required or Optional Available Version eventConfigurationMap<String, Object>[] List of criteria that decides when customers are eligible for the rewards of the promotion rule. Required 60.0 journalSubTypeString ID of the journal sub type. Required when journalType is used 60.0 journalSubTypeNameString Name of the journal sub type. Required when journalType is used 64.0 journalTypeString Name of the journal sub type. Required for loyalty accrual or redemption templates 60.0 priorityInteger Priority number of the rule in the promotion. Required 60.0 promotionLimitInteger Milestone limit of the promotion. Optional 63.0 rewardConfigurationMap<String, Object>[] List of rewards that members get when their activity meets the rule’s eligibility criteria. Required 60.0 ruleNameString Name of the promotion rule. Required 60.0 templateNameString Name of the promotion template used in a promotion rule. Required 60.0
Response Body for POST
Unified Promotion Templates