curl -X PATCH "https://api.scanova.io/qr-assets/conditional-redirect-template/3/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "template_name": "Location-based redirect (EU added)" }'
{
"id": 3,
"template_name": "Location-based redirect (EU added)",
"data": [
{
"logic": "AND",
"conditions": [{ "field": "country", "operator": "eq", "value": "US" }],
"redirect_url": "https://example.com/us"
}
],
"created": "2026-09-01T09:00:00Z",
"modified": "2026-09-08T09:00:00Z"
}
QR Assets
Update a conditional redirect template
PATCH /qr-assets/conditional-redirect-template//
PATCH
/
qr-assets
/
conditional-redirect-template
/
{pk}
/
curl -X PATCH "https://api.scanova.io/qr-assets/conditional-redirect-template/3/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "template_name": "Location-based redirect (EU added)" }'
{
"id": 3,
"template_name": "Location-based redirect (EU added)",
"data": [
{
"logic": "AND",
"conditions": [{ "field": "country", "operator": "eq", "value": "US" }],
"redirect_url": "https://example.com/us"
}
],
"created": "2026-09-01T09:00:00Z",
"modified": "2026-09-08T09:00:00Z"
}
Updates a conditional redirect template owned by this account, on the Management API host (
Both
Updating
api.scanova.io), authenticated with your raw Management API key.
PUT https://api.scanova.io/qr-assets/conditional-redirect-template/{pk}/
PATCH https://api.scanova.io/qr-assets/conditional-redirect-template/{pk}/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
integer
required
The template’s
id.PUT and PATCH are supported, and accept the same template_name/data fields documented in Create a conditional redirect template.
curl -X PATCH "https://api.scanova.io/qr-assets/conditional-redirect-template/3/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "template_name": "Location-based redirect (EU added)" }'
{
"id": 3,
"template_name": "Location-based redirect (EU added)",
"data": [
{
"logic": "AND",
"conditions": [{ "field": "country", "operator": "eq", "value": "US" }],
"redirect_url": "https://example.com/us"
}
],
"created": "2026-09-01T09:00:00Z",
"modified": "2026-09-08T09:00:00Z"
}
data replaces the entire condition-group array — there’s no endpoint to patch a single condition in place, so send the full array back with your change included. 404 if pk isn’t a template owned by this account.
Related
- Retrieve a conditional redirect template — view before updating.
- Create a conditional redirect template — the field reference this update reuses.
- Delete a conditional redirect template — remove it entirely.
- Management API overview — the auth scheme and quota rules that apply to this endpoint.
Authorizations
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
Response
Template updated.
Was this page helpful?