Skip to main content
PATCH
/
qrcode
/
{qrid}
/
curl --request PATCH \
--url https://management.scanova.io/qrcode/{qrid}/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"lead_list": 221
}'
{}

Overview

Detaches a lead list from a QR code. After detaching, users will access the QR code content directly without being prompted to fill out a lead capture form.

Path Parameters

ParameterTypeRequiredDescriptionExample
qridstringYesQR code IDQc3ca09e1a5574caf

Request Body

FieldTypeRequiredDescriptionExample
lead_listnullYesSet to null to detach lead listnull

Examples

Detach Lead List from QR Code

curl -X PATCH "https://management.scanova.io/qrcode/Qc3ca09e1a5574caf/" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "lead_list": null
  }'

Response

Returns the updated QR code object with the lead list information removed from the dynamic_url_object.

Behavior After Detaching

When a lead list is detached from a QR code:
  1. User scans QR code
  2. Direct access to the original QR code content
  3. No lead capture form is displayed
  4. No lead data is collected
  5. Faster user experience (no form to fill out)

Important Notes

  • Immediate Effect: Changes take effect immediately
  • No Data Loss: Previously captured leads remain in the lead list
  • Lead List Preserved: The lead list itself is not deleted, only detached
  • Can Reattach: You can attach the same or different lead list later

Use Cases

  • Campaign End: Stop lead capture when campaign ends
  • A/B Testing: Test QR codes with and without lead capture
  • User Experience: Remove lead capture for better user experience
  • Temporary Disable: Temporarily disable lead capture without deleting data
  • Content Access: Allow direct access to content without barriers
Detaching a lead list does not delete the lead list or any previously captured data. The lead list remains available and can be reattached to the same or different QR codes later.
Once detached, the QR code will no longer capture leads. If you need to resume lead capture, you’ll need to reattach a lead list using the attach endpoint.

Authorizations

Authorization
string
header
required

API key authentication. Enter your API key directly in the Authorization header.

Path Parameters

qrid
string
required

QR code ID

Body

application/json
  • Option 1
  • Option 2
lead_list
integer
required

Lead list ID to attach to the QR code

Example:

221

Response

QR code updated successfully

Updated QR code object with lead list information