Add Scan Task
curl --request POST \
--url https://ato.fnskutoasin.com/api/v1/ScanTask/Post \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"barCode": "<string>",
"countries": [],
"callBackUrl": "<string>",
"workerId": "<string>",
"addInfoTask": true
}
'import requests
url = "https://ato.fnskutoasin.com/api/v1/ScanTask/Post"
payload = {
"barCode": "<string>",
"countries": [],
"callBackUrl": "<string>",
"workerId": "<string>",
"addInfoTask": True
}
headers = {
"Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
barCode: '<string>',
countries: [],
callBackUrl: '<string>',
workerId: '<string>',
addInfoTask: true
})
};
fetch('https://ato.fnskutoasin.com/api/v1/ScanTask/Post', 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://ato.fnskutoasin.com/api/v1/ScanTask/Post",
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([
'barCode' => '<string>',
'countries' => [
],
'callBackUrl' => '<string>',
'workerId' => '<string>',
'addInfoTask' => true
]),
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://ato.fnskutoasin.com/api/v1/ScanTask/Post"
payload := strings.NewReader("{\n \"barCode\": \"<string>\",\n \"countries\": [],\n \"callBackUrl\": \"<string>\",\n \"workerId\": \"<string>\",\n \"addInfoTask\": true\n}")
req, _ := http.NewRequest("POST", 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.post("https://ato.fnskutoasin.com/api/v1/ScanTask/Post")
.header("Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"barCode\": \"<string>\",\n \"countries\": [],\n \"callBackUrl\": \"<string>\",\n \"workerId\": \"<string>\",\n \"addInfoTask\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ato.fnskutoasin.com/api/v1/ScanTask/Post")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"barCode\": \"<string>\",\n \"countries\": [],\n \"callBackUrl\": \"<string>\",\n \"workerId\": \"<string>\",\n \"addInfoTask\": true\n}"
response = http.request(request)
puts response.read_body{
"messages": [
"<string>"
],
"succeeded": true,
"data": 123
}Add Scan Task
POST
/
v1
/
ScanTask
/
Post
Add Scan Task
curl --request POST \
--url https://ato.fnskutoasin.com/api/v1/ScanTask/Post \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"barCode": "<string>",
"countries": [],
"callBackUrl": "<string>",
"workerId": "<string>",
"addInfoTask": true
}
'import requests
url = "https://ato.fnskutoasin.com/api/v1/ScanTask/Post"
payload = {
"barCode": "<string>",
"countries": [],
"callBackUrl": "<string>",
"workerId": "<string>",
"addInfoTask": True
}
headers = {
"Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
barCode: '<string>',
countries: [],
callBackUrl: '<string>',
workerId: '<string>',
addInfoTask: true
})
};
fetch('https://ato.fnskutoasin.com/api/v1/ScanTask/Post', 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://ato.fnskutoasin.com/api/v1/ScanTask/Post",
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([
'barCode' => '<string>',
'countries' => [
],
'callBackUrl' => '<string>',
'workerId' => '<string>',
'addInfoTask' => true
]),
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://ato.fnskutoasin.com/api/v1/ScanTask/Post"
payload := strings.NewReader("{\n \"barCode\": \"<string>\",\n \"countries\": [],\n \"callBackUrl\": \"<string>\",\n \"workerId\": \"<string>\",\n \"addInfoTask\": true\n}")
req, _ := http.NewRequest("POST", 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.post("https://ato.fnskutoasin.com/api/v1/ScanTask/Post")
.header("Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"barCode\": \"<string>\",\n \"countries\": [],\n \"callBackUrl\": \"<string>\",\n \"workerId\": \"<string>\",\n \"addInfoTask\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ato.fnskutoasin.com/api/v1/ScanTask/Post")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"barCode\": \"<string>\",\n \"countries\": [],\n \"callBackUrl\": \"<string>\",\n \"workerId\": \"<string>\",\n \"addInfoTask\": true\n}"
response = http.request(request)
puts response.read_body{
"messages": [
"<string>"
],
"succeeded": true,
"data": 123
}Supported Marketplaces
Use these 2-letter codes in thecountries array (multi-marketplace request) or the X-Country-Code header (single marketplace).
| Code | Marketplace | Code | Marketplace |
|---|---|---|---|
| AE | United Arab Emirates | UK | United Kingdom |
| IT | Italy | FR | France |
| MX | Mexico | SG | Singapore |
| IN | India | JP | Japan |
| CA | Canada | SA | Saudi Arabia |
| TR | Turkey | SE | Sweden |
| NL | Netherlands | BE | Belgium |
| ES | Spain | EG | Egypt |
| BR | Brazil | PL | Poland |
| AU | Australia | ZA | South Africa |
| DE | Germany | US | United States |
Multi-marketplace requests: pass up to 4 country codes in the
countries array to scan across several Amazon marketplaces in one request. Maximum 4 codes per request.Token cost: a single-marketplace request (one code, or none) consumes 1 token. A multi-marketplace request (2–4 codes) consumes 2 tokens.
If you omit the
countries array, the request uses the marketplace from the X-Country-Code header. When that header is not provided, it defaults to US.Example: multi-marketplace request
{
"barCode": "X0012ABCDE",
"countries": ["US", "CA", "UK", "AE"],
"callBackUrl": "https://your-app.example.com/webhook",
"workerId": "worker-01",
"addInfoTask": true
}
Authorizations
Headers
Optional 2-letter marketplace country code (e.g. US, UK, CA). Defaults to US if not provided. Used when the request body does not specify a 'countries' array. See the Supported Marketplaces list on this page.
Body
application/json
Minimum string length:
1Multi-marketplace request. Provide up to 4 marketplace country codes (maximum 4) to scan the barcode across several Amazon marketplaces in a single request. Token cost: a single-marketplace request uses 1 token; a multi-marketplace request (2-4 codes) uses 2 tokens. If omitted, the marketplace from the X-Country-Code header (default US) is used.
Maximum array length:
4Available options:
AE, IT, MX, IN, CA, TR, NL, ES, BR, AU, DE, UK, FR, SG, JP, SA, SE, BE, EG, PL, ZA, US