69be73b5cff0

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-101025471.3 MB
Programs

Activate program

<Info>

<Badge color="gray">Documentation in progress</Badge>

This documentation is in progress. The parameters, fields, request and response bodies, and other data may be subject to change. If you need more information or you want to share feedback, contact Voucherify support or your Technical Account Manager.

</Info>

Transitions the program to ACTIVE status. Allowed transitions to ACTIVE are from DRAFT and INACTIVE. Before activation the program's card definition, earning rule and tier structure assignments are validated (at least one active card definition and earning rule is required). An invalid state transition is rejected with 400 (key invalid_state_transition). No request body.

post/v2/loyalties/programs/{programId}/activate

Path parameters

idstring required

Unique program identifier.

Response

The activated program.

idstring

Unique program identifier.

namestring

Program name.

status'DRAFT' | 'ACTIVE' | 'INACTIVE' | 'DELETED'

Program status.

start_datestring date-time nullable

Program validity start date (ISO 8601), or null when not set.

end_datestring date-time nullable

Program validity end date (ISO 8601), or null when not set.

metadataobject

Arbitrary key-value metadata. Defaults to {}.

created_atstring date-time

Creation timestamp (ISO 8601).

updated_atstring date-time nullable

Last update timestamp (ISO 8601), or null when never updated.

object'program'

Object type marker.