Get a product
Get a product
GET
/
v2
/
products
/
{productId}
Get a product
curl --request GET \
--url https://api.vantr.ai/v2/products/{productId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vantr.ai/v2/products/{productId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vantr.ai/v2/products/{productId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [
"<string>"
],
"is_archived": true,
"square_sync_enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"variations": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"price": 123,
"unit": "EA",
"sku": "<string>",
"barcode": "<string>",
"image_url": "<string>",
"ebt_eligible": true,
"wic_eligible": true,
"organic_certified": true,
"kosher_certified": true,
"tobacco": true,
"alcohol_class": "<string>",
"controlled_class": "<string>",
"allergens": [
"<string>"
],
"tax_code": "<string>",
"tags": [
"<string>"
],
"is_archived": true,
"square_sync_enabled": true
}
]
}
}{
"success": false,
"code": "<string>",
"message": "<string>"
}Authorizations
OAuth2BasicClientAuth
OAuth 2.0 with opaque bearer tokens. Authorization-code requests require PKCE S256.
Headers
Pin a dated API release (YYYY-MM-DD). Omit for the latest (2026-06-09). Unknown values return 400 unsupported_api_version; the resolved version is echoed back in the X-API-Version response header.
Pattern:
^\d{4}-\d{2}-\d{2}$Example:
"2026-06-09"
Path Parameters
Query Parameters
Was this page helpful?
⌘I
Get a product
curl --request GET \
--url https://api.vantr.ai/v2/products/{productId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vantr.ai/v2/products/{productId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vantr.ai/v2/products/{productId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [
"<string>"
],
"is_archived": true,
"square_sync_enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"variations": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"price": 123,
"unit": "EA",
"sku": "<string>",
"barcode": "<string>",
"image_url": "<string>",
"ebt_eligible": true,
"wic_eligible": true,
"organic_certified": true,
"kosher_certified": true,
"tobacco": true,
"alcohol_class": "<string>",
"controlled_class": "<string>",
"allergens": [
"<string>"
],
"tax_code": "<string>",
"tags": [
"<string>"
],
"is_archived": true,
"square_sync_enabled": true
}
]
}
}{
"success": false,
"code": "<string>",
"message": "<string>"
}