v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Loyalty

Publish Loyalty Program Voucher

Publish Voucher

Changes the status of an voucher to 'LIVE' or 'SCHEDULED' based on the start date.

  • 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}/publish

Path parameters

string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593
string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593

Headers

authorizationstring nullable

Response

Successful Response

{"stackTrail":"paths:/v2/loyalty/programs/{programId}/vouchers/{voucherId}/publish:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}