Get an export
curl --request GET \
--url https://api.shoplist.co/v1/exports/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.shoplist.co/v1/exports/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.shoplist.co/v1/exports/{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://api.shoplist.co/v1/exports/{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://api.shoplist.co/v1/exports/{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://api.shoplist.co/v1/exports/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.shoplist.co/v1/exports/{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": {
"object": "export",
"id": "5f0c6a8e-3b7d-5c41-9a2e-6d1b8f4c2a90",
"status": "completed",
"format": "csv_zip",
"estimated_rows": 1240,
"row_limit": 1000,
"rows_written": 1000,
"credits": {
"reserved": 1000,
"charged": 1000,
"refunded": 0
},
"created_at": "2026-12-01T12:00:00.000Z",
"finished_at": "2026-12-01T12:01:30.000Z",
"download": {
"url": "https://downloads.shoplist.example/exports/export.zip?signature=example",
"expires_at": "2026-12-01T12:20:00.000Z"
},
"failure": null
}
}{
"type": "https://shoplist.co/docs/errors#invalid_request",
"title": "Invalid request",
"status": 400,
"detail": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#unauthenticated",
"title": "Unauthenticated",
"status": 401,
"detail": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#api_access_suspended",
"title": "API access suspended",
"status": 403,
"detail": "<string>",
"code": "api_access_suspended",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#not_found",
"title": "Not found",
"status": 404,
"detail": "<string>",
"code": "not_found",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#rate_limited",
"title": "Rate limit exceeded",
"status": 429,
"detail": "<string>",
"code": "rate_limited",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#internal_error",
"title": "Internal error",
"status": 500,
"detail": "<string>",
"code": "internal_error",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#service_unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "<string>",
"code": "service_unavailable",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}Exports
Get an export
Returns the export with its status and credits. A completed export usually includes a download link that lasts 15 minutes; each request returns a fresh link. When the link is null on a completed export, request the export again.
GET
/
v1
/
exports
/
{id}
Get an export
curl --request GET \
--url https://api.shoplist.co/v1/exports/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.shoplist.co/v1/exports/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.shoplist.co/v1/exports/{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://api.shoplist.co/v1/exports/{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://api.shoplist.co/v1/exports/{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://api.shoplist.co/v1/exports/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.shoplist.co/v1/exports/{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": {
"object": "export",
"id": "5f0c6a8e-3b7d-5c41-9a2e-6d1b8f4c2a90",
"status": "completed",
"format": "csv_zip",
"estimated_rows": 1240,
"row_limit": 1000,
"rows_written": 1000,
"credits": {
"reserved": 1000,
"charged": 1000,
"refunded": 0
},
"created_at": "2026-12-01T12:00:00.000Z",
"finished_at": "2026-12-01T12:01:30.000Z",
"download": {
"url": "https://downloads.shoplist.example/exports/export.zip?signature=example",
"expires_at": "2026-12-01T12:20:00.000Z"
},
"failure": null
}
}{
"type": "https://shoplist.co/docs/errors#invalid_request",
"title": "Invalid request",
"status": 400,
"detail": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#unauthenticated",
"title": "Unauthenticated",
"status": 401,
"detail": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#api_access_suspended",
"title": "API access suspended",
"status": 403,
"detail": "<string>",
"code": "api_access_suspended",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#not_found",
"title": "Not found",
"status": 404,
"detail": "<string>",
"code": "not_found",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#rate_limited",
"title": "Rate limit exceeded",
"status": 429,
"detail": "<string>",
"code": "rate_limited",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#internal_error",
"title": "Internal error",
"status": 500,
"detail": "<string>",
"code": "internal_error",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"type": "https://shoplist.co/docs/errors#service_unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "<string>",
"code": "service_unavailable",
"request_id": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}Authorizations
bearerAuthpartnerOAuth