Skip to main content
PATCH
Migrates a legacy QR Code onto the current theme schema.
string
required
The QR Code’s qrid.
integer
Primary key of the theme to adopt. Nullable — omit or send null to migrate without picking a named theme.
object
Per-QR overrides layered on top of the theme. Schema-validated when non-empty.
This endpoint only accepts legacy QR Codes — those whose version is below 2. A QR Code already on the current schema is rejected:
Check version on Retrieve a QR Code before calling, and treat this as a one-time migration rather than a way to change themes. For QR Codes already on the current schema, set the theme through the normal update path.

Authorizations

Authorization
string
header
required

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

Path Parameters

qrid
string
required

The QR code's qrid — the opaque public identifier returned by the list endpoint, not the numeric id.

Response

QR code migrated onto the current theme schema.