Update
curl --request PUT \
--url https://third-party.etrnl.app/v1/queue-item/{id} \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"tagMetadata": "<string>"
}
'import requests
url = "https://third-party.etrnl.app/v1/queue-item/{id}"
payload = {
"displayName": "<string>",
"tagMetadata": "<string>"
}
headers = {
"API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({displayName: '<string>', tagMetadata: '<string>'})
};
fetch('https://third-party.etrnl.app/v1/queue-item/{id}', 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://third-party.etrnl.app/v1/queue-item/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'displayName' => '<string>',
'tagMetadata' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"API-Key: <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://third-party.etrnl.app/v1/queue-item/{id}"
payload := strings.NewReader("{\n \"displayName\": \"<string>\",\n \"tagMetadata\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("API-Key", "<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.put("https://third-party.etrnl.app/v1/queue-item/{id}")
.header("API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"displayName\": \"<string>\",\n \"tagMetadata\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://third-party.etrnl.app/v1/queue-item/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"displayName\": \"<string>\",\n \"tagMetadata\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
success: true,
queueItem: {
id: 399,
tagMetadata: {
nftId: 123
},
displayName: "John's NFT data",
pageId: null,
groupId: 190,
organizationId: 1275,
fulfillmentDate: null,
fulfilled: false,
creationDate: '2023-10-31T00:41:23.000Z'
}
}
Metadata Queue Item
Update
PUT
/
v1
/
queue-item
/
{id}
Update
curl --request PUT \
--url https://third-party.etrnl.app/v1/queue-item/{id} \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"tagMetadata": "<string>"
}
'import requests
url = "https://third-party.etrnl.app/v1/queue-item/{id}"
payload = {
"displayName": "<string>",
"tagMetadata": "<string>"
}
headers = {
"API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({displayName: '<string>', tagMetadata: '<string>'})
};
fetch('https://third-party.etrnl.app/v1/queue-item/{id}', 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://third-party.etrnl.app/v1/queue-item/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'displayName' => '<string>',
'tagMetadata' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"API-Key: <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://third-party.etrnl.app/v1/queue-item/{id}"
payload := strings.NewReader("{\n \"displayName\": \"<string>\",\n \"tagMetadata\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("API-Key", "<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.put("https://third-party.etrnl.app/v1/queue-item/{id}")
.header("API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"displayName\": \"<string>\",\n \"tagMetadata\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://third-party.etrnl.app/v1/queue-item/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"displayName\": \"<string>\",\n \"tagMetadata\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
success: true,
queueItem: {
id: 399,
tagMetadata: {
nftId: 123
},
displayName: "John's NFT data",
pageId: null,
groupId: 190,
organizationId: 1275,
fulfillmentDate: null,
fulfilled: false,
creationDate: '2023-10-31T00:41:23.000Z'
}
}
Update a metadata queue item by ID.
Headers
string
required
Your organization’s private API key.
URL Params
string
required
The ID of the queue item.
Body
string
This is the queue item’s display name as it will appear in the programmer.
string
This is a JSON object that defines additional information that will be tied to the tag that’s programmed for this queue item.
{
success: true,
queueItem: {
id: 399,
tagMetadata: {
nftId: 123
},
displayName: "John's NFT data",
pageId: null,
groupId: 190,
organizationId: 1275,
fulfillmentDate: null,
fulfilled: false,
creationDate: '2023-10-31T00:41:23.000Z'
}
}
⌘I