Voucher

Represents details about a voucher that’s issued to a customer or a loyalty program member. This object is available in API version 51.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see Voucher in the Loyalty Management Developer Guide and Referral Marketing Developer Guide.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccountIdAccount IDreference 18  
BenefitIdBenefit IDreference 18  
ContactIdContact IDreference 18  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
DiscountPercentDiscount Percentageint9   
EffectiveDateEffective Datedate    
EffectiveDateTimeEffective Date Timedatetime    
ExpirationDateExpiration Datedate    
ExpirationDateTimeExpiration Date Timedatetime    
FaceValueFace Valuecurrency  182
IdVoucher IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
LoyaltyProgramMemberIdLoyalty Program Member IDreference 18  
NameVoucher Numberstring 255  
OwnerIdOwner IDreference 18  
PromotionIdPromotion IDreference 18  
ReasonReasonstring 255  
RedeemedValueRedeemed Valuecurrency  182
RemainingValueRemaining Valuecurrency  182
ReservationKeyReservation Keystring 255  
ReservedDateTimeReserved Date Timedatetime    
ReservedValueReserved Valuecurrency  182
StatusStatuspicklist 255  
SystemModstampSystem Modstampdatetime    
TransactionJournalIdTransaction Journal IDreference 18  
UseDateUse Datedate    
VoucherCodeVoucher Codestring 255  
VoucherDefinitionIdVoucher Definition IDreference 18  

History for tracked fields of Voucher.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdVoucher History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
VoucherIdVoucher IDreference 18  

Sharing for Voucher.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18