Card Definitions
Draft Card Definition
<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 card definition from ACTIVE back to DRAFT. No request body. Drafting from any other state results in an invalid state transition error (409).
post/v2/loyalties/card-definitions/{cardDefinitionId}/draft
Path parameters
idstring required
Unique card definition ID. Pattern: ^lcdef_[a-f0-9]+$.
Response
The drafted card definition.