LoyaltyProgram
Represents the referral program. All records related to the referral program’s promotions, rewards, advocates, and referrals are associated with the referral program. This object is available in API version 59.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Type: string
Properties: Create, Filter, Nillable, Sort, Update
Description: The description or the business value of the referral program.
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The most recent date on which a user referenced this record.
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The most recent date on which a user viewed this record.
Type: string
Properties: Create, Filter, Group, idLookup, Sort, Update
Description: The name of the referral program.
Type: reference
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: The owner of the referral program.
This field is a polymorphic relationship field.
Relationship Name: Owner
Relationship Type: Lookup
Refers To: Group, User
Type: picklist
Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description: Required. Specifies the status of the referral program.
Possible values are:
ActiveInactive
The default value is Active.
Type: picklist
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort
Description: Required. Specifies the type of referral program.
Possible values are:
- For B2B referral programs:
B2B — Business to Business - For B2C referral programs:
B2C — Business to Customer
Type: picklist
Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description: Required. Specifies the type of program.
Possible values are:
REFERRAL_PROGRAMLOYALTY_PROGRAM—Reserved for internal use and isn’t required for B2C or B2B referral programs. Don’t use this value to customize or extend your implementation.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
LoyaltyProgramFeed: Feed tracking is available for the object.
LoyaltyProgramHistory: History is available for tracked fields of the object.
LoyaltyProgramOwnerSharingRule: Sharing rules are available for the object.
LoyaltyProgramShare: Sharing is available for the object.