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

69be73b5cff0

Programs

Batch assign/unassign card definitions

<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>

Assigns and/or unassigns card definitions to/from a program in a single batch. Unassign operations are processed before assign operations. The program must be in DRAFT status - otherwise the request is rejected with 423 Locked (key non_draft_program). In strict mode (default) missing card definitions, inactive card definitions or missing assignments cause the whole batch to fail.

post/v2/loyalties/programs/{programId}/card-definitions/batch

Path parameters

idstring required

Unique program identifier.

Request body

Response

Batch processing result.