List Products
GET /api/v1/products
Query Parameters
| Parameter | Type | Description |
status | int | 1=active, 0=disabled |
cat_id | int | Filter by category ID |
manufacturer | int | Filter by manufacturer ID |
featured | int | 1=featured only |
digital | int | 1=digital, 0=physical |
search | string | Search name, code, description |
sort | string | product_id, name, price, stock_level, date_added, popularity |
Example
curl -H "Authorization: Bearer KEY:SECRET"
"https://example.com/api/v1/products?status=1&sort=price&order=desc&per_page=5"
Response
{
"success": true,
"data": [
{
"product_id": 57,
"name": "Leather Wallet",
"product_code": "LW-001",
"price": 49.99,
"sale_price": 0,
"stock_level": 25,
"status": 1,
"featured": 1,
"date_added": "2026-01-15 10:30:00"
}
],
"meta": {
"page": 1,
"per_page": 5,
"total": 142,
"total_pages": 29
}
}