curl --request GET \
--url https://api.privy.com/v1/products/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.privy.com/v1/products/{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.privy.com/v1/products/{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.privy.com/v1/products/{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.privy.com/v1/products/{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.privy.com/v1/products/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.privy.com/v1/products/{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": 7890123456789,
"title": "Classic T-Shirt",
"handle": "classic-t-shirt",
"status": "active",
"product_type": "Shirts",
"vendor": "Acme Apparel",
"url": "https://mystore.com/products/classic-t-shirt",
"image_url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg",
"description": "A timeless crew-neck tee in heavyweight cotton.",
"tags": [
"cotton",
"summer"
],
"options": [
{
"id": 10012345678901,
"name": "Size",
"position": 1,
"values": [
"Small",
"Large"
]
}
],
"image": {
"id": 30012345678901,
"url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg",
"alt_text": "Front of the classic t-shirt",
"width": 1600,
"height": 1200
},
"images": [
{
"id": 30012345678901,
"url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg",
"alt_text": "Front of the classic t-shirt",
"width": 1600,
"height": 1200
}
],
"media": [
{
"id": 20012345678901,
"media_content_type": "image",
"alt": "Front of the classic t-shirt",
"preview_image_url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg"
}
],
"price_range": {
"min": "10.00",
"max": "15.00",
"currency_code": "USD"
},
"total_inventory": 42,
"tracks_inventory": true,
"variants_count": 2,
"variants": [
{
"id": 40012345678901,
"title": "Small",
"price": "10.00",
"compare_at_price": null,
"sku": "TSHIRT-S",
"inventory_quantity": 12,
"available": true,
"barcode": "0123456789012",
"inventory_policy": "deny",
"position": 1,
"product_id": 7890123456789,
"taxable": true,
"image_id": 30012345678901,
"updated_at": "2026-06-01T09:00:00Z"
}
],
"created_at": "2026-01-10T09:00:00Z",
"updated_at": "2026-06-01T09:00:00Z"
}
}{
"error": {
"code": "unauthorized",
"message": "Bearer token is missing or invalid"
}
}{
"error": {
"code": "insufficient_scope",
"message": "Token does not have the required scope"
}
}{
"error": {
"code": "not_found",
"message": "Not found"
}
}{
"error": {
"code": "store_rate_limited",
"message": "The connected store is rate limiting requests. Try again shortly."
}
}{
"error": {
"code": "store_unavailable",
"message": "The connected store could not be reached. Try again shortly."
}
}Get a product
Retrieve a single product from your connected store’s catalog by its store product id.
Includes detail fields not returned by the list endpoint: description,
tags, options, image, images, and media, plus per-variant
barcode, inventory_policy, position, product_id, taxable,
image_id, and updated_at.
Requires a connected Shopify or BigCommerce store — without one, this endpoint returns
404 no_connected_store.
The response shape is the same on both platforms; detail fields BigCommerce does
not supply (media, per-variant inventory_policy, position, taxable,
image_id, updated_at) are null or empty.
Required scope: products_read
curl --request GET \
--url https://api.privy.com/v1/products/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.privy.com/v1/products/{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.privy.com/v1/products/{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.privy.com/v1/products/{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.privy.com/v1/products/{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.privy.com/v1/products/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.privy.com/v1/products/{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": 7890123456789,
"title": "Classic T-Shirt",
"handle": "classic-t-shirt",
"status": "active",
"product_type": "Shirts",
"vendor": "Acme Apparel",
"url": "https://mystore.com/products/classic-t-shirt",
"image_url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg",
"description": "A timeless crew-neck tee in heavyweight cotton.",
"tags": [
"cotton",
"summer"
],
"options": [
{
"id": 10012345678901,
"name": "Size",
"position": 1,
"values": [
"Small",
"Large"
]
}
],
"image": {
"id": 30012345678901,
"url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg",
"alt_text": "Front of the classic t-shirt",
"width": 1600,
"height": 1200
},
"images": [
{
"id": 30012345678901,
"url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg",
"alt_text": "Front of the classic t-shirt",
"width": 1600,
"height": 1200
}
],
"media": [
{
"id": 20012345678901,
"media_content_type": "image",
"alt": "Front of the classic t-shirt",
"preview_image_url": "https://cdn.shopify.com/s/files/1/0001/products/tshirt.jpg"
}
],
"price_range": {
"min": "10.00",
"max": "15.00",
"currency_code": "USD"
},
"total_inventory": 42,
"tracks_inventory": true,
"variants_count": 2,
"variants": [
{
"id": 40012345678901,
"title": "Small",
"price": "10.00",
"compare_at_price": null,
"sku": "TSHIRT-S",
"inventory_quantity": 12,
"available": true,
"barcode": "0123456789012",
"inventory_policy": "deny",
"position": 1,
"product_id": 7890123456789,
"taxable": true,
"image_id": 30012345678901,
"updated_at": "2026-06-01T09:00:00Z"
}
],
"created_at": "2026-01-10T09:00:00Z",
"updated_at": "2026-06-01T09:00:00Z"
}
}{
"error": {
"code": "unauthorized",
"message": "Bearer token is missing or invalid"
}
}{
"error": {
"code": "insufficient_scope",
"message": "Token does not have the required scope"
}
}{
"error": {
"code": "not_found",
"message": "Not found"
}
}{
"error": {
"code": "store_rate_limited",
"message": "The connected store is rate limiting requests. Try again shortly."
}
}{
"error": {
"code": "store_unavailable",
"message": "The connected store could not be reached. Try again shortly."
}
}Authorizations
Send either an API token or an OAuth access token as
Authorization: Bearer <token>. See the Authentication page for details.
Headers
Target a subaccount instead of the main connected account.
Pass a subaccount id from get_account's subaccounts list. Only direct subaccounts
of the connected account are reachable — omit this for the main account itself.
Path Parameters
The store's product id (returned as id in product responses).
Response
The product.
A product with the additional detail fields only returned by GET /v1/products/{id}
(the list endpoint returns the leaner Product shape).
Show child attributes
Show child attributes
Was this page helpful?