PATCH
/
links
/
bulk
Bulk update links(QR codes)
curl --request PATCH \
  --url https://api.supaqr.com/links/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "linkIds": [
    "<string>"
  ],
  "updateData": {
    "data": {
      "url": "https://example.com"
    },
    "linkOptions": {
      "domain": "iqr.im",
      "key": "<string>",
      "tags": [
        "tagId"
      ],
      "comment": "<string>",
      "password": "<string>",
      "expiration": {
        "time": "2025-12-31T23:59:59Z",
        "url": "https://example.com"
      },
      "utm": {
        "source": "google",
        "medium": "cpc",
        "campaign": "menu",
        "term": "pizza",
        "content": "menu QR code",
        "ref": "yoursite.com"
      },
      "option": {
        "isWaterMark": false,
        "watermarkText": "supaqr",
        "isScreenshotProtected": false
      },
      "previewData": {
        "title": "SupaQR",
        "desc": "Create Your Free Custom Dynamic QR Codes for link, images or PDF files",
        "image": "https://example.com/abc.png"
      },
      "Targeting": {
        "targetType": "device",
        "targetDatas": {
          "ios": "https://example.com",
          "android": "https://example.com"
        }
      }
    },
    "qrOptions": {
      "correctLevel": 2,
      "space": 2,
      "version": -1,
      "frame": {
        "type": "preset",
        "value": "https://file.supaqr.com/example.png",
        "options": {
          "code_rect": [
            100
          ]
        },
        "add_texts": [
          {
            "pos": [
              2
            ],
            "color": "#FFFFFF",
            "size": 100,
            "align": "start",
            "font": "Roboto",
            "content": "<string>",
            "prefix": "<string>"
          }
        ]
      },
      "patterns": {
        "background": {
          "type": "single",
          "value": "#000000"
        },
        "body": {
          "style_id": "Simple",
          "type": "single",
          "value": "#000000",
          "direction": "Horizontal"
        },
        "eye": {
          "style_id": "1",
          "type": "same",
          "value": "#000000",
          "direction": "Horizontal"
        }
      },
      "logo": {
        "type": "image",
        "value": "<string>",
        "location": "Center",
        "shape": "Squared",
        "size": 2,
        "hasBackground": true,
        "shadow": false
      }
    }
  }
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The response is of type object.