curl -X PATCH "https://api.scanova.io/qr-assets/business-card-template/8/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "name": "Blue Card v2" }'
{
"id": 8,
"template_id": "bct-blue-01",
"name": "Blue Card v2",
"info": "John Doe\nCEO",
"color": "{\"primary\":\"#0033ff\"}",
"font": "Roboto",
"background_img": "https://cdn.scanova.io/upload/bct/8.png"
}
QR Assets
Update a business card template
PATCH /qr-assets/business-card-template//
PATCH
/
qr-assets
/
business-card-template
/
{pk}
/
curl -X PATCH "https://api.scanova.io/qr-assets/business-card-template/8/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "name": "Blue Card v2" }'
{
"id": 8,
"template_id": "bct-blue-01",
"name": "Blue Card v2",
"info": "John Doe\nCEO",
"color": "{\"primary\":\"#0033ff\"}",
"font": "Roboto",
"background_img": "https://cdn.scanova.io/upload/bct/8.png"
}
Updates a business card template owned by this account, on the Management API host (
Both
api.scanova.io), authenticated with your raw Management API key.
PUT https://api.scanova.io/qr-assets/business-card-template/{pk}/
PATCH https://api.scanova.io/qr-assets/business-card-template/{pk}/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
integer
required
The template’s
id.PUT and PATCH are supported, and accept the same fields documented in Create a business card template, including template_id (unlike QR Code design templates, this one can be changed after creation).
curl -X PATCH "https://api.scanova.io/qr-assets/business-card-template/8/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "name": "Blue Card v2" }'
{
"id": 8,
"template_id": "bct-blue-01",
"name": "Blue Card v2",
"info": "John Doe\nCEO",
"color": "{\"primary\":\"#0033ff\"}",
"font": "Roboto",
"background_img": "https://cdn.scanova.io/upload/bct/8.png"
}
404 if pk isn’t a template owned by this account.
Related
- Retrieve a business card template — view before updating.
- Create a business card template — the field reference this update reuses.
- Delete a business card 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?