Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

PromotionRuleTemplate

Represents the configuration of a promotion rule template. This object is available in API version 60.0 and later.

The object isn't available in the Object Manager and can't be customized.

Supported Calls

describeSObjects(), query()

Fields

Field Details
ApiName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The API name of the promotion rule template.
Category
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The category of the promotion rule template.
Description
Type
textarea
Properties
Filter, Nillable, Sort
Description
The description of the promotion rule template.
ExternalId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Reserved for internal use.
IconUrl
Type
url
Properties
Filter, Group, Nillable, Sort
Description
The URL of the promotion rule template’s icon.
JournalTypeId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of the journal type that represents the type of customer activity the promotion rule template is applicable for.
This field is a relationship field.
Relationship Name
JournalType
Relationship Type
Lookup
Refers To
JournalType
Label
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the promotion rule template.
RuleConfiguration
Type
textarea
Properties
Nillable
Description
The promotion rule configuration in JSON format.
RuleRewardConfiguration
Type
textarea
Properties
Nillable
Description
The rule reward configuration details in JSON format, which are applicable for the promotion rule template.