Templates
Update a template
Renames a template or changes its design.
PATCH
A new
definition creates a new revision. Passes you issue afterwards use it. Existing passes keep the revision they were issued with until you deploy the template.
Turning a wallet off in issuePlatforms stops new passes using it as soon as you save, in both test and live, with no new revision and no deployment. Passes already on that wallet keep their updates, notifications and voids, so its design stays required until no active pass uses it.
string
required
The template ID.
string
required
A unique value for this request.
integer
required
The template’s current
revision. If someone changed the template since you read it, the update is rejected instead of overwriting their work.string
A new name, from 1 to 100 characters.
object
A complete new design. It replaces the current one. TapAce sets
definition.platforms itself and ignores any value you send, so use issuePlatforms to choose wallets.object
Which wallets new passes can use. Send both values. Both can be
false, which stops the template issuing new passes while existing ones keep working. Turning on a wallet the current revision doesn’t require creates a new revision, and is rejected if that wallet’s design is incomplete.