coal
COAL DOCS

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": true
8}

List Products

GET /api/console/products

Returns a list of all active products.

Create Product

POST /api/console/products

ParamTypeDescription
namestringProduct name
pricenumberPrice in MNEE
imagestringURL 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}'