List Products

GET /api/v1/products

Query Parameters

ParameterTypeDescription
statusint1=active, 0=disabled
cat_idintFilter by category ID
manufacturerintFilter by manufacturer ID
featuredint1=featured only
digitalint1=digital, 0=physical
searchstringSearch name, code, description
sortstringproduct_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
    }
}