Qr codes
Update a QR code
PATCH
Changes any of the listed fields. For dynamic codes, setting targetUrl changes where every printed copy sends people, effective immediately.
bearerAuthheader
AuthorizationBearer <token>API key from Settings → API keys, sent as Authorization: Bearer ezqr_…. Requires the Max plan.
id*stringThe QR code's id
Format
uuidapplication/json- body
name?stringLength
1 <= lengthcontent?stringtargetUrl?|Format
uriisActive?booleanfalse pauses the code
style?|nullfolderId?|Format
uuiddomainId?|Format
uuidabTestConfig?|nullgeoRules?|nullsmartRules?|nullpassword?stringRequire a password before redirecting
Length
4 <= length <= 128removePassword?booleanscheduledStart?|Format
date-timeexpiresAt?|Format
date-timeThe updated QR code
application/json- response
data*curl -X PATCH 'https://ez-qr.com/api/v1/qr-codes/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "type": "static", "contentType": "string", "content": "string", "targetUrl": "string", "shortCode": "string", "style": {}, "isActive": true, "totalScans": 0, "scheduledStart": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}