curl -X GET "https://api.chariow.com/v1/products/prd_abc123" \
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
curl -X GET "https://api.chariow.com/v1/products/premium-course" \
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
const response = await fetch('https://api.chariow.com/v1/products/prd_abc123', {
headers: {
'Authorization': 'Bearer sk_live_YOUR_API_KEY'
}
});
const { data } = await response.json();
console.log(data);
$ch = curl_init('https://api.chariow.com/v1/products/prd_abc123');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer sk_live_YOUR_API_KEY'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$data = json_decode($response, true);
import requests
response = requests.get(
'https://api.chariow.com/v1/products/prd_abc123',
headers={'Authorization': 'Bearer sk_live_YOUR_API_KEY'}
)
data = response.json()
{
"message": "success",
"data": {
"id": "prd_abc123",
"name": "Premium Web Development Course",
"slug": "premium-web-dev-course",
"description": "A comprehensive course covering advanced web development techniques and best practices.",
"type": "course",
"category": {
"value": "education_and_learning",
"label": "Education and Learning"
},
"status": "published",
"is_free": false,
"pictures": {
"thumbnail": "https://cdn.chariow.com/products/abc123/thumb.jpg",
"cover": "https://cdn.chariow.com/products/abc123/cover.jpg"
},
"pricing": {
"type": "one_time",
"current_price": {
"value": 99.00,
"formatted": "$99.00",
"short": "99",
"currency": "USD"
},
"price": {
"value": 149.00,
"formatted": "$149.00",
"short": "149",
"currency": "USD"
},
"sale_price": {
"value": 99.00,
"formatted": "$99.00",
"short": "99",
"currency": "USD"
},
"min_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"suggested_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"price_off": "34%"
},
"quantity": null,
"settings": {
"is_requires_shipping_address": false
},
"rating": {
"average": 4.8,
"count": 245
},
"on_sale_until": "2025-02-28T23:59:59Z",
"sales_count": 1250,
"seo": null,
"custom_cta_text": {
"value": null,
"label": null
},
"fields": null,
"bundle": null
},
"errors": []
}
{
"message": "success",
"data": {
"id": "prd_bundle789",
"name": "Complete Developer Bundle",
"slug": "developer-bundle",
"description": "Everything you need to become a professional developer.",
"type": "bundle",
"category": {
"value": "technology",
"label": "Technology"
},
"status": "published",
"is_free": false,
"pictures": {
"thumbnail": "https://cdn.chariow.com/products/bundle789/thumb.jpg",
"cover": null
},
"pricing": {
"type": "one_time",
"current_price": {
"value": 199.00,
"formatted": "$199.00",
"short": "199",
"currency": "USD"
},
"price": {
"value": 199.00,
"formatted": "$199.00",
"short": "199",
"currency": "USD"
},
"sale_price": null,
"min_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"suggested_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"price_off": null
},
"quantity": null,
"settings": {
"is_requires_shipping_address": false
},
"rating": {
"average": 4.9,
"count": 89
},
"on_sale_until": null,
"sales_count": 543,
"seo": null,
"custom_cta_text": {
"value": null,
"label": null
},
"fields": null,
"bundle": {
"value": {
"value": 297.00,
"formatted": "$297.00",
"short": "297",
"currency": "USD"
},
"savings": {
"amount": {
"value": 98.00,
"formatted": "$98.00",
"short": "98",
"currency": "USD"
},
"percentage": "33%"
}
}
},
"errors": []
}
{
"message": "Product not found",
"data": [],
"errors": []
}
{
"message": "Unauthorised",
"data": [],
"errors": ["Invalid API key"]
}
Products
Get Product
Retrieve detailed information about a specific product
curl -X GET "https://api.chariow.com/v1/products/prd_abc123" \
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
curl -X GET "https://api.chariow.com/v1/products/premium-course" \
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
const response = await fetch('https://api.chariow.com/v1/products/prd_abc123', {
headers: {
'Authorization': 'Bearer sk_live_YOUR_API_KEY'
}
});
const { data } = await response.json();
console.log(data);
$ch = curl_init('https://api.chariow.com/v1/products/prd_abc123');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer sk_live_YOUR_API_KEY'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$data = json_decode($response, true);
import requests
response = requests.get(
'https://api.chariow.com/v1/products/prd_abc123',
headers={'Authorization': 'Bearer sk_live_YOUR_API_KEY'}
)
data = response.json()
{
"message": "success",
"data": {
"id": "prd_abc123",
"name": "Premium Web Development Course",
"slug": "premium-web-dev-course",
"description": "A comprehensive course covering advanced web development techniques and best practices.",
"type": "course",
"category": {
"value": "education_and_learning",
"label": "Education and Learning"
},
"status": "published",
"is_free": false,
"pictures": {
"thumbnail": "https://cdn.chariow.com/products/abc123/thumb.jpg",
"cover": "https://cdn.chariow.com/products/abc123/cover.jpg"
},
"pricing": {
"type": "one_time",
"current_price": {
"value": 99.00,
"formatted": "$99.00",
"short": "99",
"currency": "USD"
},
"price": {
"value": 149.00,
"formatted": "$149.00",
"short": "149",
"currency": "USD"
},
"sale_price": {
"value": 99.00,
"formatted": "$99.00",
"short": "99",
"currency": "USD"
},
"min_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"suggested_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"price_off": "34%"
},
"quantity": null,
"settings": {
"is_requires_shipping_address": false
},
"rating": {
"average": 4.8,
"count": 245
},
"on_sale_until": "2025-02-28T23:59:59Z",
"sales_count": 1250,
"seo": null,
"custom_cta_text": {
"value": null,
"label": null
},
"fields": null,
"bundle": null
},
"errors": []
}
{
"message": "success",
"data": {
"id": "prd_bundle789",
"name": "Complete Developer Bundle",
"slug": "developer-bundle",
"description": "Everything you need to become a professional developer.",
"type": "bundle",
"category": {
"value": "technology",
"label": "Technology"
},
"status": "published",
"is_free": false,
"pictures": {
"thumbnail": "https://cdn.chariow.com/products/bundle789/thumb.jpg",
"cover": null
},
"pricing": {
"type": "one_time",
"current_price": {
"value": 199.00,
"formatted": "$199.00",
"short": "199",
"currency": "USD"
},
"price": {
"value": 199.00,
"formatted": "$199.00",
"short": "199",
"currency": "USD"
},
"sale_price": null,
"min_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"suggested_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"price_off": null
},
"quantity": null,
"settings": {
"is_requires_shipping_address": false
},
"rating": {
"average": 4.9,
"count": 89
},
"on_sale_until": null,
"sales_count": 543,
"seo": null,
"custom_cta_text": {
"value": null,
"label": null
},
"fields": null,
"bundle": {
"value": {
"value": 297.00,
"formatted": "$297.00",
"short": "297",
"currency": "USD"
},
"savings": {
"amount": {
"value": 98.00,
"formatted": "$98.00",
"short": "98",
"currency": "USD"
},
"percentage": "33%"
}
}
},
"errors": []
}
{
"message": "Product not found",
"data": [],
"errors": []
}
{
"message": "Unauthorised",
"data": [],
"errors": ["Invalid API key"]
}
Retrieves comprehensive information about a specific product by its public ID or slug. This endpoint returns detailed pricing information, images, ratings, sales count, SEO data, custom fields, and bundle information (if applicable).
Path Parameters
string
required
The unique product identifier or slug (e.g.,
prd_abc123 or premium-course)Response
string
Response status message
object
Show properties
Show properties
string
Unique product identifier (e.g.,
prd_abc123)string
Product name
string
URL-friendly product identifier
string
Full product description
string
Product type:
downloadable, service, course, license, bundle, or coachingstring
Product status (always
published for public API)boolean
Whether the product is free
object
Show properties
Show properties
string
Pricing type:
free, one_time, or what_you_wantobject
object
Base price (same structure as current_price)
object|null
Sale price if product is on sale (same structure as current_price)
object
Minimum price for “pay what you want” products
object
Suggested price for “pay what you want” products
string|null
Discount percentage (e.g., “34%”)
object|null
string|null
Sale end date (ISO 8601 format)
integer|null
Number of successful sales (null if hidden)
object|null
array|null
Custom fields (only when loaded)
array
Array of error messages (empty on success)
curl -X GET "https://api.chariow.com/v1/products/prd_abc123" \
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
curl -X GET "https://api.chariow.com/v1/products/premium-course" \
-H "Authorization: Bearer sk_live_YOUR_API_KEY"
const response = await fetch('https://api.chariow.com/v1/products/prd_abc123', {
headers: {
'Authorization': 'Bearer sk_live_YOUR_API_KEY'
}
});
const { data } = await response.json();
console.log(data);
$ch = curl_init('https://api.chariow.com/v1/products/prd_abc123');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer sk_live_YOUR_API_KEY'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$data = json_decode($response, true);
import requests
response = requests.get(
'https://api.chariow.com/v1/products/prd_abc123',
headers={'Authorization': 'Bearer sk_live_YOUR_API_KEY'}
)
data = response.json()
{
"message": "success",
"data": {
"id": "prd_abc123",
"name": "Premium Web Development Course",
"slug": "premium-web-dev-course",
"description": "A comprehensive course covering advanced web development techniques and best practices.",
"type": "course",
"category": {
"value": "education_and_learning",
"label": "Education and Learning"
},
"status": "published",
"is_free": false,
"pictures": {
"thumbnail": "https://cdn.chariow.com/products/abc123/thumb.jpg",
"cover": "https://cdn.chariow.com/products/abc123/cover.jpg"
},
"pricing": {
"type": "one_time",
"current_price": {
"value": 99.00,
"formatted": "$99.00",
"short": "99",
"currency": "USD"
},
"price": {
"value": 149.00,
"formatted": "$149.00",
"short": "149",
"currency": "USD"
},
"sale_price": {
"value": 99.00,
"formatted": "$99.00",
"short": "99",
"currency": "USD"
},
"min_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"suggested_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"price_off": "34%"
},
"quantity": null,
"settings": {
"is_requires_shipping_address": false
},
"rating": {
"average": 4.8,
"count": 245
},
"on_sale_until": "2025-02-28T23:59:59Z",
"sales_count": 1250,
"seo": null,
"custom_cta_text": {
"value": null,
"label": null
},
"fields": null,
"bundle": null
},
"errors": []
}
{
"message": "success",
"data": {
"id": "prd_bundle789",
"name": "Complete Developer Bundle",
"slug": "developer-bundle",
"description": "Everything you need to become a professional developer.",
"type": "bundle",
"category": {
"value": "technology",
"label": "Technology"
},
"status": "published",
"is_free": false,
"pictures": {
"thumbnail": "https://cdn.chariow.com/products/bundle789/thumb.jpg",
"cover": null
},
"pricing": {
"type": "one_time",
"current_price": {
"value": 199.00,
"formatted": "$199.00",
"short": "199",
"currency": "USD"
},
"price": {
"value": 199.00,
"formatted": "$199.00",
"short": "199",
"currency": "USD"
},
"sale_price": null,
"min_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"suggested_price": {
"value": 0,
"formatted": "$0.00",
"short": "0",
"currency": "USD"
},
"price_off": null
},
"quantity": null,
"settings": {
"is_requires_shipping_address": false
},
"rating": {
"average": 4.9,
"count": 89
},
"on_sale_until": null,
"sales_count": 543,
"seo": null,
"custom_cta_text": {
"value": null,
"label": null
},
"fields": null,
"bundle": {
"value": {
"value": 297.00,
"formatted": "$297.00",
"short": "297",
"currency": "USD"
},
"savings": {
"amount": {
"value": 98.00,
"formatted": "$98.00",
"short": "98",
"currency": "USD"
},
"percentage": "33%"
}
}
},
"errors": []
}
{
"message": "Product not found",
"data": [],
"errors": []
}
{
"message": "Unauthorised",
"data": [],
"errors": ["Invalid API key"]
}
Was this page helpful?
⌘I