ChartLabs Marketplace API
API-only service. Use the Angular app to interact with the marketplace.
Endpoints
- GET /api/products — List products
- GET /api/products/:id — Product detail
- GET /api/products/:id/code — Download indicator code
- POST /api/products — Create product (seller)
- POST /api/upload — Upload indicator .ts file (seller)
- GET /api/sellers — Seller profile
- POST /api/sellers — Apply as seller
- GET /api/purchases — My purchases
- POST /api/purchases — Purchase indicator
- PATCH /api/admin/products/:id — Approve/reject (admin)