Issue Voucher Action

Issue a voucher for a member or contact.

This action is available in API version 51.0 and later for users with Loyalty Management license.

URI: /services/data/vXX.X/actions/standard/issueVoucher

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer token

InputTypeDescription
AdditionalNotesstringAdditional details related to the action, such as the reason for issuing the voucher.
AccountIdstringThe ID of the account that’s used to issue the voucher. ProvideAccountId only when you issue vouchers to a Business Account. If both AccountId and ContactId are provided, then an error is displayed.
BenefitIdIDThe benefit associated with the voucher.
ContactIdIDThe contact associated with the member. Provide ContactId only when you issue vouchers to a Person Account. If both AccountId and ContactId are provided, then an error is displayed.
DiscountPercentpercentThe discount percentage provided by the voucher. Specify a value to override the discount percentage specified in the associated voucher definition. Specify this when the associated voucher definition is of the type Discount Percentage. This field is available in API version 53.0 and later.
FaceValuedoubleThe amount of discount provided by the voucher. Specify a value to override the face value specified in the associated voucher definition. Specify this when the associated voucher definition is of the type Fixed Value. This field is available in API version 53.0 and later.
EffectiveDateDateThe date the voucher goes into effect.
ExpiryDateDateThe date the voucher expires.
JournalIdIDThe transaction journal associated with the member voucher when the voucher results from accrual of points.
LoyaltyProgramMemberIdIDID of the loyalty program member to issue the voucher.
PromotionIdIDThe promotion associated with the voucher.
ProgramNamestringThe name of the loyalty program associated with this voucher.
VoucherCodestringRequired. The voucher identifier generated by an external system.
VoucherDefinitionNamestringRequired. The name of the voucher definition associated with the voucher code.
OutputTypeDescription
VoucherIdIDThe ID of the voucher that’s generated after the request is successful.

Sample Request

Sample request to issue vouchers to a Person Account.

Sample request to issue vouchers to a Business Account.

Sample Response

Sample request for the Issue Voucher action.