List digital products
curl --request GET \
--url https://api.salesive.com/api/v1/digital-products \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.salesive.com/api/v1/digital-products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.salesive.com/api/v1/digital-products', 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.salesive.com/api/v1/digital-products",
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.salesive.com/api/v1/digital-products"
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.salesive.com/api/v1/digital-products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.salesive.com/api/v1/digital-products")
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{
"status": 200,
"success": true,
"message": "Digital products retrieved successfully",
"data": {
"digitals": [
{
"_id": "6702c1a4e1b3a40012cd2001",
"shop": "66a1eee0e1b3a40012ab0001",
"name": "The Lagos Cookbook",
"description": "120 everyday Nigerian recipes, with a shopping list for each week.",
"author": "Ngozi Okafor",
"images": [
"https://cdn.salesive.com/d/lagos-cookbook-cover.jpg"
],
"category": {
"_id": "66a2a0aae1b3a40012cd0001",
"name": "Cookbooks",
"slug": "cookbooks"
},
"access": "both",
"pricing": {
"oneTime": 4500,
"monthly": 1500
},
"price": 1500,
"inPass": true,
"file": {
"name": "lagos-cookbook.pdf",
"size": 8421376,
"format": "pdf",
"mimetype": "application/pdf",
"attached": true
},
"preview": {
"enabled": true,
"pages": 3
},
"listed": true,
"featured": false,
"createdAt": "2026-10-11T09:12:00.000Z",
"updatedAt": "2026-10-11T09:30:00.000Z",
"sales": 14,
"activeAccess": 9
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 20,
"pages": 1,
"hasNext": false,
"hasPrev": false,
"nextPage": null,
"prevPage": null
}
}
}{
"status": 400,
"success": false,
"message": "A one-time price is required",
"data": {}
}{
"status": 401,
"success": false,
"message": "App token expired or invalid.",
"data": {}
}{
"status": 403,
"success": false,
"message": "This app is missing the required permission(s): WRITE_INVENTORY",
"data": {}
}Digital products
List digital products
Returns a paginated list of the store’s digital products (PDFs, books and other downloads), newest first.
GET
/
digital-products
List digital products
curl --request GET \
--url https://api.salesive.com/api/v1/digital-products \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.salesive.com/api/v1/digital-products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.salesive.com/api/v1/digital-products', 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.salesive.com/api/v1/digital-products",
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.salesive.com/api/v1/digital-products"
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.salesive.com/api/v1/digital-products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.salesive.com/api/v1/digital-products")
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{
"status": 200,
"success": true,
"message": "Digital products retrieved successfully",
"data": {
"digitals": [
{
"_id": "6702c1a4e1b3a40012cd2001",
"shop": "66a1eee0e1b3a40012ab0001",
"name": "The Lagos Cookbook",
"description": "120 everyday Nigerian recipes, with a shopping list for each week.",
"author": "Ngozi Okafor",
"images": [
"https://cdn.salesive.com/d/lagos-cookbook-cover.jpg"
],
"category": {
"_id": "66a2a0aae1b3a40012cd0001",
"name": "Cookbooks",
"slug": "cookbooks"
},
"access": "both",
"pricing": {
"oneTime": 4500,
"monthly": 1500
},
"price": 1500,
"inPass": true,
"file": {
"name": "lagos-cookbook.pdf",
"size": 8421376,
"format": "pdf",
"mimetype": "application/pdf",
"attached": true
},
"preview": {
"enabled": true,
"pages": 3
},
"listed": true,
"featured": false,
"createdAt": "2026-10-11T09:12:00.000Z",
"updatedAt": "2026-10-11T09:30:00.000Z",
"sales": 14,
"activeAccess": 9
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 20,
"pages": 1,
"hasNext": false,
"hasPrev": false,
"nextPage": null,
"prevPage": null
}
}
}{
"status": 400,
"success": false,
"message": "A one-time price is required",
"data": {}
}{
"status": 401,
"success": false,
"message": "App token expired or invalid.",
"data": {}
}{
"status": 403,
"success": false,
"message": "This app is missing the required permission(s): WRITE_INVENTORY",
"data": {}
}Returns a paginated list of the store’s digital products, newest first, with the category populated. Supports
search (name and author), listed, featured and category filters. Requires the READ_INVENTORY scope.
The list is under data.digitals. Each item carries two extra counters that single reads do not: sales (paid or completed order lines) and activeAccess (buyers who can download it right now). The private file id is never returned: file.attached says whether a file is set.
These endpoints only work on a store whose type is
digital. On any other store they return 403 with This is only available on digital stores. See Digital stores.curl -X GET https://api.salesive.com/api/v1/digital-products?search=cookbook&limit=20 \
-H "Authorization: Bearer app_<your-app-access-token>"
Authorizations
Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side , never send a shop id.
Query Parameters
Page number (1-based).
Required range:
x >= 1Items per page, 1 to 100.
Required range:
1 <= x <= 100Case-insensitive match on name and author.
Filter by listed status.
Filter by featured status.
Filter by category ObjectId.
Response
List digital products: success.
Example:
200
Example:
true
Example:
"Digital products retrieved successfully"
Show child attributes
Show child attributes
Example:
{
"digitals": [
{
"_id": "6702c1a4e1b3a40012cd2001",
"shop": "66a1eee0e1b3a40012ab0001",
"name": "The Lagos Cookbook",
"description": "120 everyday Nigerian recipes, with a shopping list for each week.",
"author": "Ngozi Okafor",
"images": [
"https://cdn.salesive.com/d/lagos-cookbook-cover.jpg"
],
"category": {
"_id": "66a2a0aae1b3a40012cd0001",
"name": "Cookbooks",
"slug": "cookbooks"
},
"access": "both",
"pricing": { "oneTime": 4500, "monthly": 1500 },
"price": 1500,
"inPass": true,
"file": {
"name": "lagos-cookbook.pdf",
"size": 8421376,
"format": "pdf",
"mimetype": "application/pdf",
"attached": true
},
"preview": { "enabled": true, "pages": 3 },
"listed": true,
"featured": false,
"createdAt": "2026-10-11T09:12:00.000Z",
"updatedAt": "2026-10-11T09:30:00.000Z",
"sales": 14,
"activeAccess": 9
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 20,
"pages": 1,
"hasNext": false,
"hasPrev": false,
"nextPage": null,
"prevPage": null
}
}
Was this page helpful?

