POST /api/auth/register
β Customer registrationPOST /api/auth/verify-email
β Verify email with tokenPOST /api/auth/resend-verification
β Resend verification linkPOST /api/auth/login
β Login with credentialsPOST /api/auth/login/otp
β Login with one-time code (2FA)POST /api/auth/2fa/setup
β Enable 2-factor authenticationPOST /api/auth/2fa/verify
β Verify 2-factor codePOST /api/auth/password/forgot
β Send password-reset linkPOST /api/auth/password/reset
β Reset password with tokenPATCH /api/auth/password/change
β Change password (logged-in)POST /api/auth/refresh-token
β Refresh JWTPOST /api/auth/logout
β Logout current sessionGET /api/auth/sessions
β List active sessions/devicesDELETE /api/auth/sessions/:id
β Revoke specific sessionGET /api/auth/oauth/:provider
β Start OAuth flow (Google, etc.)POST /api/auth/oauth/:provider/callback
β OAuth callback
-
-
Save mudassaralichouhan/d86414d8276e247948f1dd4c41db1911 to your computer and use it in GitHub Desktop.
To empower businesses (tenants) to quickly and easily launch their own independent online stores, manage their inventory, process orders, and streamline operations, without worrying about infrastructure or technical complexity.
-
Rapid Store Setup:
- Business owners can launch their e-commerce operations quickly, saving significant time and resources.
-
Simplified Inventory Management:
- Easily manage warehouses, track stock levels, and efficiently handle inventory across multiple locations, reducing operational complexity.
-
Effective Order & Return Processing:
- Businesses can manage the full lifecycle of orders, from creation to shipping, fulfillment, and even returns, improving customer satisfaction through seamless workflows.
-
Role-Based Team Management:
- Teams can dynamically manage user roles and permissions, empowering owners to safely delegate responsibilities within their business.
-
Scalable Infrastructure:
- The multi-tenant architecture allows businesses to scale effortlessly without needing internal technical expertise or large upfront investment.
-
Cost Savings:
- Businesses avoid high setup costs, infrastructure maintenance, and dedicated IT teams, focusing instead on growing sales and customer relationships.
-
Operational Efficiency:
- Automated processes such as shipping labels generation, tracking, and notifications minimize manual labor, freeing up business owners and staff for more strategic work.
-
Data-Driven Decisions:
- Integrated analytics and reporting enable businesses to understand their sales, inventory performance, and returns patterns, leading to better decision-making.
- You are not just coding; you're building a platform that makes real-world business operations easier, more efficient, and cost-effective.
- You are helping entrepreneurs and small-to-medium businesses compete effectively with larger companies by providing professional-grade tools at a fraction of the cost and complexity.
- You enable growth and scalability, making businesses more successful in practical termsβhigher sales, better customer experiences, and smoother day-to-day management.
POST /api/auth/register
β Customer registrationPOST /api/auth/login
β LoginPOST /api/auth/logout
β LogoutPOST /api/auth/refresh-token
β Refresh JWT
POST /api/tenants
β Register tenant (store)GET /api/tenants/:id
β Get tenant detailsPUT /api/tenants/:id
β Update tenant detailsDELETE /api/tenants/:id
β Delete tenant (soft delete)GET /api/tenants/:id/settings
β Get tenant settingsPUT /api/tenants/:id/settings
β Update tenant settings
POST /api/users
β Create user (Admin creates staff/customers)GET /api/users
β List users (pagination, filter)GET /api/users/:id
β Get user detailsPUT /api/users/:id
β Update user details/roleDELETE /api/users/:id
β Delete user (soft delete)PATCH /api/users/:id/status
β Activate/deactivate userPATCH /api/users/:id/password
β Update user password
POST /api/roles
β Create role (tenant-specific)GET /api/roles
β List rolesGET /api/roles/:id
β Get role detailsPUT /api/roles/:id
β Update roleDELETE /api/roles/:id
β Delete rolePOST /api/roles/:id/permissions
β Assign permissions to roleDELETE /api/roles/:id/permissions/:permissionId
β Remove permission from roleGET /api/permissions
β List all permissions
POST /api/products
β Create productGET /api/products
β List products (pagination, filters)GET /api/products/:id
β Get product detailsPUT /api/products/:id
β Update productDELETE /api/products/:id
β Delete product (soft delete)
POST /api/categories
β Create categoryGET /api/categories
β List categoriesGET /api/categories/:id
β Get category detailsPUT /api/categories/:id
β Update categoryDELETE /api/categories/:id
β Delete categoryGET /api/categories/:id/products
β Get products under category
POST /api/cart
β Add item to cartPUT /api/cart/:itemId
β Update cart item quantityDELETE /api/cart/:itemId
β Remove cart itemGET /api/cart
β Get cart contentsPOST /api/cart/checkout
β Checkout cart
POST /api/orders
β Create orderGET /api/orders
β List orders (pagination, filters)GET /api/orders/:id
β Get order detailsPATCH /api/orders/:id/status
β Update order statusDELETE /api/orders/:id
β Cancel order
POST /api/payments/create-intent
β Create payment intent (Stripe/PayPal)POST /api/payments/webhook
β Payment webhook handlerGET /api/payments
β List payments (Admin/Staff)GET /api/payments/:id
β Get payment details
GET /api/profile
β Get own profilePUT /api/profile
β Update own profilePATCH /api/profile/password
β Update own password
GET /api/notifications
β List notificationsPOST /api/notifications
β Create notification (Admin)DELETE /api/notifications/:id
β Delete notification
POST /api/uploads
β Upload product/store images
-
POST /api/warehouses
β Create warehouse -
GET /api/warehouses
β List warehouses -
GET /api/warehouses/:id
β Get warehouse details -
PUT /api/warehouses/:id
β Update warehouse -
DELETE /api/warehouses/:id
β Delete warehouse -
POST /api/warehouses/:id/stock
β Add stock to warehouse -
GET /api/warehouses/:id/stock
β Get stock in warehouse -
PATCH /api/warehouses/:id/stock/:productId
β Update product quantity in warehouse -
DELETE /api/warehouses/:id/stock/:productId
β Remove product from warehouse
GET /api/inventory
β List inventory across warehousesGET /api/inventory/:productId
β Get inventory details for a productPATCH /api/inventory/:productId/adjust
β Adjust product stock manuallyPOST /api/inventory/transfer
β Transfer stock between warehouses
POST /api/returns
β Create return requestGET /api/returns
β List return requestsGET /api/returns/:id
β Get return request detailsPATCH /api/returns/:id/status
β Update return status (requested
,approved
,rejected
,refunded
,returned
)DELETE /api/returns/:id
β Cancel return request
GET /api/return-notifications
β List return notificationsPOST /api/return-notifications
β Create return notification (internal use)DELETE /api/return-notifications/:id
β Remove return notification
POST /api/shipping/labels
β Generate shipping labelGET /api/shipping/labels/:id
β Get shipping label detailsPOST /api/shipping/tracking
β Add tracking info to orderGET /api/shipping/tracking/:trackingNumber
β Track shipment
POST /api/fulfillment/orders/:orderId/fulfill
β Fulfill order manuallyPATCH /api/fulfillment/orders/:orderId/status
β Update fulfillment status (fulfilled
,partially_fulfilled
,pending
)GET /api/fulfillment
β List fulfillment activitiesGET /api/fulfillment/:id
β Get fulfillment details
POST /api/suppliers
β Create supplierGET /api/suppliers
β List suppliersGET /api/suppliers/:id
β Get supplier detailsPUT /api/suppliers/:id
β Update supplierDELETE /api/suppliers/:id
β Delete supplier
POST /api/purchase-orders
β Create purchase orderGET /api/purchase-orders
β List purchase ordersGET /api/purchase-orders/:id
β Get purchase order detailsPATCH /api/purchase-orders/:id/status
β Update purchase order status (ordered
,received
,cancelled
)DELETE /api/purchase-orders/:id
β Delete purchase order
POST /api/import/products
β Bulk import products via CSV/ExcelGET /api/export/products
β Export product list
GET /api/dashboard/sales-summary
β Sales summary statsGET /api/dashboard/inventory-summary
β Inventory summary statsGET /api/dashboard/returns-summary
β Returns summaryGET /api/dashboard/fulfillment-summary
β Fulfillment summary