Poll an async job
curl --request GET \
--url https://www.merchkit.com/api/v1/jobs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.merchkit.com/api/v1/jobs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.merchkit.com/api/v1/jobs/{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://www.merchkit.com/api/v1/jobs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.merchkit.com/api/v1/jobs/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.merchkit.com/api/v1/jobs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.merchkit.com/api/v1/jobs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "1f7c9a2b-6d43-4e8f-b501-a92c7d3e6f18",
"name": "Process Source",
"status": "running",
"progress": {
"current": 40,
"total": 100,
"percent": 40
},
"created_at": "2026-07-18T09:30:22Z",
"started_at": "2026-07-18T09:30:22Z",
"completed_at": null,
"result": null,
"metadata": {
"workflow": "process-source",
"url": "https://nordictimber.example/catalog/aria-oak-dining-table",
"via": "api_v1"
}
}
}{
"error": {
"code": "validation_failed",
"message": "Unknown attribute key(s): colour.",
"documentation_url": "https://docs.merchkit.com/developers/errors#validation_failed",
"is_retriable": false,
"retry_after_seconds": null,
"alternative_action": "List valid attribute keys via GET /v1/attributes?type=product.",
"request_id": "req_01j9x2k8",
"field_errors": [
{
"field": "colour",
"issue": "not_a_defined_attribute"
}
]
}
}Sync & monitoring
Poll an async job
Status + progress of an asynchronous operation (source processing, imports, workflow runs). POST /sources returns a job_id to poll here; terminal statuses are completed, failed, and cancelled.
Scope: read:jobs.
GET
/
jobs
/
{id}
Poll an async job
curl --request GET \
--url https://www.merchkit.com/api/v1/jobs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.merchkit.com/api/v1/jobs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.merchkit.com/api/v1/jobs/{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://www.merchkit.com/api/v1/jobs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.merchkit.com/api/v1/jobs/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.merchkit.com/api/v1/jobs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.merchkit.com/api/v1/jobs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "1f7c9a2b-6d43-4e8f-b501-a92c7d3e6f18",
"name": "Process Source",
"status": "running",
"progress": {
"current": 40,
"total": 100,
"percent": 40
},
"created_at": "2026-07-18T09:30:22Z",
"started_at": "2026-07-18T09:30:22Z",
"completed_at": null,
"result": null,
"metadata": {
"workflow": "process-source",
"url": "https://nordictimber.example/catalog/aria-oak-dining-table",
"via": "api_v1"
}
}
}{
"error": {
"code": "validation_failed",
"message": "Unknown attribute key(s): colour.",
"documentation_url": "https://docs.merchkit.com/developers/errors#validation_failed",
"is_retriable": false,
"retry_after_seconds": null,
"alternative_action": "List valid attribute keys via GET /v1/attributes?type=product.",
"request_id": "req_01j9x2k8",
"field_errors": [
{
"field": "colour",
"issue": "not_a_defined_attribute"
}
]
}
}Authorizations
Workspace-scoped API key (mk_live_...). Each operation lists the scope it requires in x-required-scopes. See the Authentication guide for the full scope table and key management.
Path Parameters
The resource UUID.
Response
Job status.
An asynchronous operation. Poll until a terminal status.
Show child attributes
Show child attributes
Example:
{
"id": "1f7c9a2b-6d43-4e8f-b501-a92c7d3e6f18",
"name": "Process Source",
"status": "running",
"progress": {
"current": 40,
"total": 100,
"percent": 40
},
"created_at": "2026-07-18T09:30:22Z",
"started_at": "2026-07-18T09:30:22Z",
"completed_at": null,
"result": null,
"metadata": {
"workflow": "process-source",
"url": "https://nordictimber.example/catalog/aria-oak-dining-table",
"via": "api_v1"
}
}
Was this page helpful?