Products API
Manage your product catalog programmatically.
Object Structure
json
1{2 "id": "prod_123",3 "name": "Super Coffee",4 "price": "5.00",5 "currency": "MNEE",6 "image": "https://...",7 "active": true8}
List Products
GET /api/console/products
Returns a list of all active products.
Create Product
POST /api/console/products
| Param | Type | Description |
|---|---|---|
name | string | Product name |
price | number | Price in MNEE |
image | string | URL of product image |
bash
1curl -X POST https://api.usecoal.xyz/api/console/products \2 -H "x-api-key: ..." \3 -d '{"name": "Coffee", "price": 5}'