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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccountId | Account ID | reference | 18 | |||
BenefitId | Benefit ID | reference | 18 | |||
ContactId | Contact ID | reference | 18 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
CurrencyIsoCode | Currency ISO Code | picklist | 3 | |||
DiscountPercent | Discount Percentage | int | 9 | |||
EffectiveDate | Effective Date | date | ||||
EffectiveDateTime | Effective Date Time | datetime | ||||
ExpirationDate | Expiration Date | date | ||||
ExpirationDateTime | Expiration Date Time | datetime | ||||
FaceValue | Face Value | currency | 18 | 2 | ||
Id | Voucher ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastReferencedDate | Last Referenced Date | datetime | ||||
LastViewedDate | Last Viewed Date | datetime | ||||
LoyaltyProgramMemberId | Loyalty Program Member ID | reference | 18 | |||
Name | Voucher Number | string | 255 | |||
OwnerId | Owner ID | reference | 18 | |||
PromotionId | Promotion ID | reference | 18 | |||
Reason | Reason | string | 255 | |||
RedeemedValue | Redeemed Value | currency | 18 | 2 | ||
RemainingValue | Remaining Value | currency | 18 | 2 | ||
ReservationKey | Reservation Key | string | 255 | |||
ReservedDateTime | Reserved Date Time | datetime | ||||
ReservedValue | Reserved Value | currency | 18 | 2 | ||
Status | Status | picklist | 255 | |||
SystemModstamp | System Modstamp | datetime | ||||
TransactionJournalId | Transaction Journal ID | reference | 18 | |||
UseDate | Use Date | date | ||||
VoucherCode | Voucher Code | string | 255 | |||
VoucherDefinitionId | Voucher Definition ID | reference | 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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Voucher History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
VoucherId | Voucher ID | reference | 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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccessLevel | Custom Object Access | picklist | 40 | |||
Id | Custom Object Share ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
ParentId | Parent ID | reference | 18 | |||
RowCause | Row Cause | picklist | 40 | |||
UserOrGroupId | User/Group ID | reference | 18 |