Update Template
Update an existing template's name and/or design. Use the Design Builder to experiment with options, then pass the JSON into design.
PATCH
/templates/:idHeaders
| Header | Required | Description |
|---|---|---|
X-API-Key | Required | Your API key |
Content-Type | Required | application/json |
QR-Version | Optional | API version (e.g., 2026-02-16) |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Optional | Template name (2–80 characters) |
design | object | Optional | QR design with builderData and frameData |
Request
- cURL
- JavaScript
- Python
curl -X PATCH "https://integration-api.qr-build.com/templates/tpl-aBc123XyZ9" \
-H "X-API-Key: qrb_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Brand Style",
"design": {
"builderData": { ... },
"frameData": { ... }
}
}'
const response = await fetch(
"https://integration-api.qr-build.com/templates/tpl-aBc123XyZ9",
{
method: "PATCH",
headers: {
"X-API-Key": "qrb_live_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
name: "Updated Brand Style",
design: { builderData: {...}, frameData: {...} },
}),
}
);
import requests
response = requests.patch(
"https://integration-api.qr-build.com/templates/tpl-aBc123XyZ9",
headers={
"X-API-Key": "qrb_live_your_api_key_here",
"Content-Type": "application/json",
},
json={
"name": "Updated Brand Style",
"design": {"builderData": {...}, "frameData": {...}},
},
)
Response
Returns 204 No Content on success.