WalletPassAPI Docs

API reference · Templates

Update a template's passes

POST/v1/templates/{slug}/update-passes1 operation a passSafe to retry with Idempotency-Key

Gives every pass on an older version the template's latest design, in the background. Installed passes refresh.

Path

slugstringrequired

The template's slug. org:<slug> for one your organization shares with this workspace (those can only be read).

Answer

202Started

Follow it with Get a template: update.status goes from sending to completed, or stopped if it couldn't go on. failed passes kept their old design.

Errors

Every error has the same shape: see Errors.

StatusCodeWhen
403organization_templateIt's your organization's: change it in the dashboard, or duplicate it to make your own.
404not_foundNo template with that slug here.
409template_update_in_progressIts passes are already being updated.
409idempotency_conflictThe Idempotency-Key was already used for a different request.
422nothing_to_updateEvery pass made from it is on its latest version.
429template_update_over_allowanceIt would go past this month's operations. preview says what's left.