Developer & Enterprise API Reference (OpenAPI 3.1.0)
Clean REST API contract powering Vintage Vibes Enterprise Retail OS by Makkani AI. Public catalog routes support headless commerce, while ERP back-office modules enforce Bearer JWT authentication, RBAC role guards, TLS 1.3 PostgreSQL persistence, and immutable audit logs.
Authentication & Security Model
Protected ERP routes require an Authorization: Bearer <JWT> header scoped to tenant RBAC permissions. Sensitive administrative operations and system configuration require elevated operator privileges.
curl -sS https://vintagevibesgk.com/api/health curl -sS -H "Authorization: Bearer $ERP_OPERATOR_JWT" https://vintagevibesgk.com/api/finance/coa
Core Public & Enterprise ERP Endpoints
GET
Public
/api/health
GET
Public
/api/ecommerce/catalog
POST
Checkout Token
/api/ecommerce/orders
GET
Bearer JWT + RBAC
/api/purchase/bale-sessions
GET
Bearer JWT + RBAC
/api/purchase/invoices
POST
Bearer JWT + RBAC
/api/sales/invoices
GET
Bearer JWT + RBAC
/api/finance/vouchers
GET
Bearer JWT + RBAC
/api/finance/coa
GET
Bearer JWT + RBAC
/api/parties
GET
Bearer JWT + RBAC
/api/hr/employees
GET
Bearer JWT + RBAC
/api/setup/tax-profiles
GET
Bearer JWT + RBAC
/api/audit/logs
Live OpenAPI 3.1 Schema Preview
Synchronized directly from /openapi.json:
Loading /openapi.json...