Dashboard Overview
Recent System Activity
| Company Name | Slug | Contact Email | Managers | Products | Company Pricing | Status | Actions |
|---|---|---|---|---|---|---|---|
| Loading companies... | |||||||
| Manager Name | Username | Company | Status | Created | Actions | |
|---|---|---|---|---|---|---|
| Loading managers... | ||||||
| Product | Company / Source | Manager Base Price | Pricing Rule | Final Public Price | Public Status | Overrides | Actions |
|---|---|---|---|---|---|---|---|
| Loading products... | |||||||
Active Global Pricing Rule
Default pricing formula applied to all products unless overridden by company or product-level rule.
Configured Pricing Rules Hierarchy
| Rule Name | Scope | Applies To | Type | Value | Status | Actions |
|---|---|---|---|---|---|---|
| Loading pricing rules... | ||||||
Connected External Websites & API Keys
Manage machine-to-machine integrations for external consumer websites.
Hasqen External Catalog API v1
Production machine-to-machine API for integrating public product catalog and live pricing into external websites.
Base URL & Security
All API requests must be performed over HTTPS to:
https://sales.hasqen.com/api/v1
Authentication is passed via the X-API-Key request header. Keep this secret safe and never expose it in client-side public bundles.
/api/v1/products
Retrieves a paginated list of all active, in-stock, and approved public products. Products marked hidden or out-of-stock are strictly excluded automatically.
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
page |
integer | 1 | Page number for pagination. |
limit |
integer | 20 | Number of items per page (maximum 100). |
search |
string | - | Filter products by title or description keyword. |
Example Response (200 OK)
{
"success": true,
"data": [
{
"id": "prod_a1b2c3d4e5f6",
"title": "Premium Wireless Headphones",
"description": "High-fidelity audio with active noise cancellation.",
"image_url": "https://sales.hasqen.com/images/img_987654.jpg",
"price": 2400.00,
"availability": "IN_STOCK",
"updated_at": "2026-09-09T01:00:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 48,
"totalPages": 3
}
}
/api/v1/products/:id
Fetches details for a single product by ID. Returns 404 Not Found if the product is hidden, out of stock, or disabled.
Integration Code Samples
curl -X GET "https://sales.hasqen.com/api/v1/products?limit=10" \
-H "X-API-Key: YOUR_SECRET_API_KEY"
const API_KEY = 'YOUR_SECRET_API_KEY';
async function fetchCatalog() {
const response = await fetch('https://sales.hasqen.com/api/v1/products?page=1&limit=20', {
headers: {
'X-API-Key': API_KEY,
'Accept': 'application/json'
}
});
if (!response.ok) {
throw new Error('API Error: ' + response.statusText);
}
const data = await response.json();
console.log('Public Products:', data.data);
}
fetchCatalog().catch(console.error);
<?php
$apiKey = 'YOUR_SECRET_API_KEY';
$url = 'https://sales.hasqen.com/api/v1/products?limit=20';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'X-API-Key: ' . $apiKey,
'Accept: application/json'
]);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($httpCode === 200) {
$result = json_decode($response, true);
print_r($result['data']);
} else {
echo "Request failed with status $httpCode\n";
}
?>
import requests
API_KEY = "YOUR_SECRET_API_KEY"
URL = "https://sales.hasqen.com/api/v1/products"
headers = {
"X-API-Key": API_KEY,
"Accept": "application/json"
}
response = requests.get(URL, headers=headers, params={"limit": 20})
if response.status_code == 200:
products = response.json().get("data", [])
for p in products:
print(f"{p['title']} - \$" + str(p['price']) + f" ({p['availability']})")
else:
print(f"Error {response.status_code}: {response.text}")
| Timestamp | User / Role | Action | Target Type | Target ID | Details | IP Address |
|---|---|---|---|---|---|---|
| Loading logs... | ||||||
| Image | Product Title | My Base Price | Short Description | Stock Status | Visibility | Actions |
|---|---|---|---|---|---|---|
| Loading products... | ||||||