Modular POS SaaS Platform

Powerful modular Laravel-based API with independent modules for Product, Inventory, Sales, and Purchase. Event-driven architecture with complete multi-tenant isolation.

4+
Independent Modules
4
User Roles
100%
RESTful
JWT
Authentication

Modular Architecture Features

Everything you need to build a scalable POS system with independent modules

๐Ÿ”ง

Modular Architecture

Independent modules that operate separately. Product, Inventory, Sales, and Purchase modules can be enabled/disabled based on subscription needs.

๐Ÿ“ฆ

Product Module

Complete product catalog management with variants, ingredients, and pricing. Handles hierarchical categories and product relationships.

๏ฟฝ

Inventory Module

Advanced stock management across branches with movement tracking, bulk operations, and low-stock alerts with base unit conversions.

๏ฟฝ

Sales Module

Complete order processing with pricing calculations, tax handling, stock integration, and payment management with idempotency protection.

๏ฟฝ

Purchase Module

Procurement and vendor management with purchase orders, receiving, and automated stock updates from supplier deliveries.

๐Ÿข

Multi-Company Support

Manage multiple companies with subscription plans, user limits, and branch configurations. Perfect for SaaS applications.

Built to Scale with Your Business

From single branch to full operations system - More than a POS, a complete business engine

Billing Period

Launch

499 EGP
per month
Limited to 1 branch only
  • POS system
  • Product management
  • CRM (basic)
  • Inventory management
  • Purchases management
Get Started

Scale

1199 EGP
per month
Supports up to 4 branches
  • All features included
  • Multi-branch management
  • Roles & permissions
  • Advanced integrations
  • Dedicated support
Request Demo

Additional branches: +250 EGP/month per branch

Custom pricing: Available for large businesses - Contact Sales

What Our Users Say

Trusted by businesses worldwide

"Z-Flux has transformed how we manage our multi-location retail business. The API is intuitive and the support is exceptional."

JD

John Davidson

CEO, RetailChain Inc.

"The role-based permissions system is exactly what we needed. Our managers can now handle day-to-day operations without compromising security."

SM

Sarah Mitchell

Operations Manager

"As a developer, I love the clean API design. Documentation is comprehensive and the JWT authentication implementation is solid."

MC

Michael Chen

Lead Developer

Comprehensive API Documentation

Explore our extensive RESTful API with 50+ endpoints across 4 independent modules

50+
Total Endpoints
4
Modules
5
HTTP Methods
100%
RESTful

๐Ÿ” Authentication

Login

POST
/api/login

JWT token generation with email and password

Public Required: email, password

Logout

POST
/api/logout

Invalidate current JWT token

Protected Requires auth

Refresh Token

POST
/api/refresh

Generate new JWT token

Protected Requires valid token

User Profile

GET
/api/me

Get current user information

Protected Requires auth

๐Ÿข Core Management

Companies

GET
/api/dashboard/companies

List all companies (Super Admin only)

Admin Paginated

Create Company

POST
/api/dashboard/companies

Create new company

Admin Requires: name, email

Branches

GET
/api/dashboard/branches

List all branches

Protected Company-scoped

Users

GET
/api/dashboard/users

List users with roles

Protected Role-based

Customers

GET
/api/dashboard/customers

Customer management

Protected CRM data

Create User

POST
/api/dashboard/users

Create new user with role

Admin Role assignment

๐Ÿ“ฆ Product Module

Products

GET
/api/products

List products with variants

Protected Includes variants

Create Product

POST
/api/products

Create product with variants

Protected Complex payload

Product Details

GET
/api/products/{id}

Get product with all variants

Protected Full details

Update Product

PUT
/api/products/{id}

Update product information

Protected Partial updates

Product Variants

GET
/api/products/variants

List all product variants

Protected Pricing included

Categories

GET
/api/products/categories

Product categories tree

Public Hierarchical

Search Products

GET
/api/products/search

Search products by name/SKU

Public Full-text search

Delete Product

DELETE
/api/products/{id}

Soft delete product

Protected Admin only

๐Ÿ“Š Inventory Module

Items

GET
/api/inventory/items

List inventory items

Protected Stock levels

Stock Levels

GET
/api/inventory/stocks

Current stock by branch

Protected Real-time data

Stock Movements

GET
/api/inventory/movements

Stock movement history

Protected Audit trail

Add Stock

POST
/api/inventory/add-stock

Add stock to branch

Protected Creates movement

Stock Adjustments

GET
/api/inventory/adjustments

Pending adjustments

Protected Approval workflow

Low Stock Alerts

GET
/api/inventory/alerts

Low stock notifications

Protected Automated

Transfer Stock

POST
/api/inventory/transfer

Transfer between branches

Protected Branch-to-branch

Stock Valuation

GET
/api/inventory/valuation

Total stock value

Protected FIFO calculation

๐Ÿ’ฐ Sales Module

Orders

GET
/api/orders

List sales orders

Protected Filterable

Create Order

POST
/api/orders

Create new sales order

Protected Stock deduction

Order Details

GET
/api/orders/{id}

Get order with items

Protected Full details

Update Order

PATCH
/api/orders/{id}

Update order status

Protected Status workflow

Order Payments

GET
/api/orders/{id}/payments

Order payment history

Protected Payment methods

Sales Analytics

GET
/api/orders/analytics

Sales reports and analytics

Protected Dashboard data

Refund Order

POST
/api/orders/{id}/refund

Process order refund

Protected Stock restoration

Order Statistics

GET
/api/orders/statistics

Order statistics summary

Protected Real-time stats

๐Ÿ›’ Purchase Module

Purchase Orders

GET
/api/purchases

List purchase orders

Protected Vendor data

Create Purchase

POST
/api/purchases

Create purchase order

Protected Vendor linking

Vendors

GET
/api/purchases/vendors

Supplier management

Protected CRM data

Receive Purchase

POST
/api/purchases/{id}/receive

Receive purchase order

Protected Stock update

Purchase Details

GET
/api/purchases/{id}

Purchase order details

Protected Full details

Vendor Analytics

GET
/api/purchases/analytics

Purchase analytics

Protected Spend analysis

๐Ÿข Core Management APIs

Companies

GET
/api/dashboard/companies

List all companies (Super Admin only)

Admin Paginated

Create Company

POST
/api/dashboard/companies

Create new company

Admin Requires: name, email

Branches

GET
/api/dashboard/branches

List all branches

Protected Company-scoped

Users

GET
/api/dashboard/users

List users with roles

Protected Role-based

Customers

GET
/api/dashboard/customers

Customer management

Protected CRM data

Login

POST
/api/login

JWT token generation

Public Required: email, password

๐Ÿ“ฆ Product Module APIs

Products

GET
/api/products

List products with variants

Protected Includes variants

Create Product

POST
/api/products

Create product with variants

Protected Complex payload

Product Variants

GET
/api/products/variants

List all product variants

Protected Pricing included

Categories

GET
/api/products/categories

Product categories tree

Public Hierarchical

Search Products

GET
/api/products/search

Search products by name/SKU

Public Full-text search

Product Details

GET
/api/products/{id}

Get product with all variants

Protected Full details

Update Product

PUT
/api/products/{id}

Update product information

Protected Partial updates

Delete Product

DELETE
/api/products/{id}

Soft delete product

Protected Admin only

๐Ÿ“Š Inventory Module APIs

Items

GET
/api/inventory/items

List inventory items

Protected Stock levels

Stock Levels

GET
/api/inventory/stocks

Current stock by branch

Protected Real-time data

Stock Movements

GET
/api/inventory/movements

Stock movement history

Protected Audit trail

Add Stock

POST
/api/inventory/add-stock

Add stock to branch

Protected Creates movement

Stock Adjustments

GET
/api/inventory/adjustments

Pending adjustments

Protected Approval workflow

Low Stock Alerts

GET
/api/inventory/alerts

Low stock notifications

Protected Automated

Transfer Stock

POST
/api/inventory/transfer

Transfer between branches

Protected Branch-to-branch

Stock Valuation

GET
/api/inventory/valuation

Total stock value

Protected FIFO calculation

๐Ÿ’ฐ Sales Module APIs

Orders

GET
/api/orders

List sales orders

Protected Filterable

Create Order

POST
/api/orders

Create new sales order

Protected Stock deduction

Order Details

GET
/api/orders/{id}

Get order with items

Protected Full details

Update Order

PATCH
/api/orders/{id}

Update order status

Protected Status workflow

Order Payments

GET
/api/orders/{id}/payments

Order payment history

Protected Payment methods

Sales Analytics

GET
/api/orders/analytics

Sales reports and analytics

Protected Dashboard data

Refund Order

POST
/api/orders/{id}/refund

Process order refund

Protected Stock restoration

Order Statistics

GET
/api/orders/statistics

Order statistics summary

Protected Real-time stats

๐Ÿ›’ Purchase Module APIs

Purchase Orders

GET
/api/purchases

List purchase orders

Protected Vendor data

Create Purchase

POST
/api/purchases

Create purchase order

Protected Vendor linking

Vendors

GET
/api/purchases/vendors

Supplier management

Protected CRM data

Receive Purchase

POST
/api/purchases/{id}/receive

Receive purchase order

Protected Stock update

Purchase Details

GET
/api/purchases/{id}

Purchase order details

Protected Full details

Vendor Analytics

GET
/api/purchases/analytics

Purchase analytics

Protected Spend analysis

๐Ÿ—๏ธ Modular Architecture Benefits

๐Ÿ”ง Independent Modules
Each module operates separately and can be enabled/disabled based on subscription needs
๏ฟฝ Event-Driven
Modules communicate via events and service interfaces for loose coupling
๐Ÿ›ก๏ธ Fault Tolerant
System continues operating when modules are disabled with Null Object pattern
๐Ÿข Multi-Tenant
Complete data isolation with company_id for SaaS architecture

๏ฟฝ๏ฟฝ Test Users

๐Ÿ‘‘ Super Admin
admin@admin.com
password
๐Ÿ‘จโ€๐Ÿ’ผ Admin
admin@example.com
password
๐Ÿช Manager
manager@example.com
password123
๐Ÿ’ฐ Cashier
cashier@example.com
password123

Ready to Get Started?

Join thousands of businesses using Z-Flux to streamline their operations