v2
latestOpenAPI 3.1.02026-08-01244220427.0 KBLoyalty
Cancel Loyalty Program Voucher
Cancel Voucher
Cancels an voucher within a loyalty program. Only vouchers in 'DRAFT' or 'LIVE' status can be canceled.
-
Path Parameters:
- programId: UUID of the loyalty program
- voucherId: UUID of the voucher
-
Returns:
- Voucher details as a JSON object after status update.
post/v2/loyalty/programs/{programId}/vouchers/{voucherId}/cancel
Path parameters
Example:5eb7cf5a86d9755df3a6c593
Example:5eb7cf5a86d9755df3a6c593
Headers
authorizationstring nullable
Response
Successful Response
{"stackTrail":"paths:/v2/loyalty/programs/{programId}/vouchers/{voucherId}/cancel:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}