Card Definitions
Activate Card Definition
<Badge color="yellow">BETA endpoint</Badge>
This is a work-in-progress documentation of a BETA endpoint. The parameters, fields, request and response bodies, and other data may subject to change. If you want to share feedback or improvements, contact Voucherify support or your Technical Account Manager.
</Warning>Transitions the card definition from DRAFT to ACTIVE. No request body. Activating from any other state results in an invalid state transition error (409).
post/v2/loyalties/card-definitions/{cardDefinitionId}/activate
Request
- Base URLhttps://api.voucherify.io
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Unique card definition ID. Pattern: ^lcdef_[a-f0-9]+$.
Response
The activated card definition.
Changes
No recorded changes to this operation across all 1 revision of this API.