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.
Voucher Details
The details of the voucher that's issued to the customer.
- JSON example
- This example shows a sample
response.
1 2 "voucherIssuedList": [ 3 { 4 "discountPercent":10, 5 "effectiveDate": "2025-10-09T00:00:00.000Z", 6 "expirationDate": "2025-10-10T00:00:00.000Z", 7 "faceValue": 100, 8 "productId":"01txx0000006iTsAAI", 9 "promotionId": "0c8SB000000HASn", 10 "voucherCode": "SALE-4F8G-RT2P", 11 "voucherDefinitionName": "$100 off", 12 "voucherId": "0kDSB0000000LNp" 13 } 14 ]
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| discountPercent | Integer | Discount percentage associated with the voucher. | Big, 65.0 | 65.0 |
| effectiveDate | String | Date when the voucher goes into effect. | Big, 65.0 | 65.0 |
| expirationDate | String | Date on which the voucher expires. | Big, 65.0 | 65.0 |
| faceValue | Double | Value of the voucher. | Big, 65.0 | 65.0 |
| productId | String | The ID of the product in the voucher issued. | Big, 65.0 | 65.0 |
| promotionId | String | The ID of the promotion associated with the voucher. | Big, 65.0 | 65.0 |
| voucherCode | String | Code of the voucher issued. | Big, 65.0 | 65.0 |
| voucherDefinitionName | String | Name of the voucher definition. | Big, 65.0 | 65.0 |
| voucherId | String | The ID of the voucher issued. | Big, 65.0 | 65.0 |