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