Order Management
The OMS (Order Management System) project is the central hub for coordinating and storing all sales activities of a business (Merchant). OMS supports multi-channel data synchronization (from e-commerce platforms, Facebook, POS) and provides services to optimize operations, inventory management, and staffing.
Required Headers
All APIs are protected by business authentication middleware. Every request must include:
| Header Key | Type | Required | Description |
|---|---|---|---|
Token-Business | string | REQUIRED | Business identification and authentication token |
Content-Type | string | REQUIRED | Always pass application/json |
POST /product/get_product HTTP/1.1
Host: api-product.merchant.vn
Content-Type: application/json
Token-Business: your_secret_business_access_token
API Modules
Orders & Products
Inventory & Operations
Finance & Partners
Integration & System
Database
Uses PostgreSQL via Prisma ORM. Schema defined at prisma/schema.prisma.
pnpm prisma:dev # Dev environment migration