产品 API
Manage products programmatically via the API.
List 产品
GET /api/v2/products
Response
{
"data": [
{
"id": 1,
"name": "Acme Pro Dashboard",
"slug": "acme-pro-dashboard",
"description": "Enterprise analytics dashboard",
"type": "web_app",
"category": "Analytics",
"is_active": true,
"created_at": "2024-01-15T00:00:00Z"
}
]
}
Create Product
POST /api/v2/products
Request Body
{
"name": "Acme Mobile App",
"description": "Our iOS and Android mobile application",
"type": "mobile_app",
"category": "Mobile",
"is_active": true
}