π API Documentation
RESTful API for the This Warm is for Profit e-commerce platform.
π Base URL
https://warm.platphormnews.com/api/v1
π₯ Health Check
GET
/api/healthCheck service health and status.
π« Products
GET
/api/v1/productsList all products. Supports filtering by category and featured status.
Query Parameters:
category- Filter by: classic, mushroom, sproutfeatured- Boolean to get featured products
GET
/api/v1/products/{slug}Get a single product by its slug.
π Kanban Integration
GET
/api/v1/kanbanGet kanban project info for order fulfillment workflow.
POST
/api/v1/kanbanCreate a fulfillment task (procurement, fulfillment, or success).
Request Body:
{
"title": "Order #123 Fulfillment",
"description": "Prepare and ship order",
"type": "fulfillment",
"order_id": "ord_123",
"priority": "high"
}π± Suppliers
GET
/api/v1/suppliers/greensGet supplier info and ingredient inventory from greens.platphormnews.com.
POST
/api/v1/suppliers/greensCreate a supply order for microgreen ingredients.
Request Body:
{
"ingredient_id": "sunflower-sprouts",
"quantity_kg": 5,
"delivery_date": "2026-03-01"
}π Orders Sync
POST
/api/v1/orders/syncSync offline orders from localStorage to database when connection is restored.
Request Body:
{
"orders": [
{
"local_id": "local_123",
"email": "customer@example.com",
"items": [...],
"created_at": "2026-02-26T12:00:00Z"
}
],
"device_id": "device_abc123"
}π OpenAPI Specification
Full OpenAPI 3.1.0 specification available at:
π /api/docsπ€ LLM Discovery
π Integrations
π Kanban: kanban.platphormnews.com - Order fulfillment workflow
π¨ ASCII Art: ascii.platphormnews.com - Graphics generation
π³ Stripe: Secure payment processing