Update 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>Updates a card definition. All properties are optional; only provided sections are updated. type and status cannot be changed through this endpoint (status transitions are performed via the activate/draft endpoints).
When the card definition is in use (e.g. assigned to a program with existing cards), updates to restricted sections may be rejected with a resource-locked error; only name, metadata and pay_with_points are always updatable.
Path parameters
Unique card definition ID. Pattern: ^lcdef_[a-f0-9]+$.
Request body
Response
The updated card definition.