Newer Version Available

This content describes an older version of this product. View Latest

PromotionRuleTemplate

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

Supported Calls

describeSObjects(), query()

Special Access Rules

PromotionRuleTemplate is only available in orgs where Global Promotions Management is enabled. The object isn't available in the Object Manager and can't be customized.

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.