Move QR Codes to Folder
curl --request POST \
--url https://management.scanova.io/folder/{id}/bulk_move/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"qr_code_ids": [
"QXXXXXXXXXXXX"
],
"from": 3
}
'import requests
url = "https://management.scanova.io/folder/{id}/bulk_move/"
payload = {
"qr_code_ids": ["QXXXXXXXXXXXX"],
"from": 3
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({qr_code_ids: ['QXXXXXXXXXXXX'], from: 3})
};
fetch('https://management.scanova.io/folder/{id}/bulk_move/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://management.scanova.io/folder/{id}/bulk_move/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'qr_code_ids' => [
'QXXXXXXXXXXXX'
],
'from' => 3
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://management.scanova.io/folder/{id}/bulk_move/"
payload := strings.NewReader("{\n \"qr_code_ids\": [\n \"QXXXXXXXXXXXX\"\n ],\n \"from\": 3\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://management.scanova.io/folder/{id}/bulk_move/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"qr_code_ids\": [\n \"QXXXXXXXXXXXX\"\n ],\n \"from\": 3\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/folder/{id}/bulk_move/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"qr_code_ids\": [\n \"QXXXXXXXXXXXX\"\n ],\n \"from\": 3\n}"
response = http.request(request)
puts response.read_body{
"message": "QR codes moved successfully"
}{
"detail": "Invalid token."
}{
"detail": "Not found."
}Folder Management
Move QR Codes to Folder
Move multiple QR codes into a folder. Authentication required — include your API key in the Authorization header.
POST
/
folder
/
{id}
/
bulk_move
/
Move QR Codes to Folder
curl --request POST \
--url https://management.scanova.io/folder/{id}/bulk_move/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"qr_code_ids": [
"QXXXXXXXXXXXX"
],
"from": 3
}
'import requests
url = "https://management.scanova.io/folder/{id}/bulk_move/"
payload = {
"qr_code_ids": ["QXXXXXXXXXXXX"],
"from": 3
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({qr_code_ids: ['QXXXXXXXXXXXX'], from: 3})
};
fetch('https://management.scanova.io/folder/{id}/bulk_move/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://management.scanova.io/folder/{id}/bulk_move/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'qr_code_ids' => [
'QXXXXXXXXXXXX'
],
'from' => 3
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://management.scanova.io/folder/{id}/bulk_move/"
payload := strings.NewReader("{\n \"qr_code_ids\": [\n \"QXXXXXXXXXXXX\"\n ],\n \"from\": 3\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://management.scanova.io/folder/{id}/bulk_move/")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"qr_code_ids\": [\n \"QXXXXXXXXXXXX\"\n ],\n \"from\": 3\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://management.scanova.io/folder/{id}/bulk_move/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"qr_code_ids\": [\n \"QXXXXXXXXXXXX\"\n ],\n \"from\": 3\n}"
response = http.request(request)
puts response.read_body{
"message": "QR codes moved successfully"
}{
"detail": "Invalid token."
}{
"detail": "Not found."
}Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Target folder ID. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
qr_code_ids | array[string] | Yes | Array of QR code IDs to move. To move all QR codes from the source folder, pass ["all"]. |
from | integer | null | No | Source folder ID. Pass an integer such as 3, or null. |
Example Request
{
"qr_code_ids": ["QXXXXXXXXXXXX],
"from": 3
}
Example Response
✅ 200 OK
{
"message": "QR codes moved successfully"
}
Authorizations
API key authentication. Enter your API key directly in the Authorization header.
Path Parameters
Folder ID
Body
application/json
Response
QR codes moved successfully
Example:
"QR codes moved successfully"
Was this page helpful?
⌘I