Multi-seller pricing platform
My master's thesis: a platform where many sellers manage products, prices and stock, with each seller's data kept apart, timed prices, a REST API and XML feeds.
- Role
- Author: analysis, data model, implementation
- Period
- 03/2026 – 05/2026
- Status
- Defended in 2026
- Stack
-
- PHP 8
- Laravel
- Filament
- Livewire
- SQL
- MySQL
- PHPUnit
- PHPStan
- Tailwind CSS
- HTML, CSS, JavaScript
- Docker
- Laravel Sanctum
In short
- 27 API endpoints, each checks the token's abilities
- 2 Filament panels: admin and seller
- Timed prices with no gaps or overlaps
The problem
Small sellers often keep products, prices and stock in spreadsheets and feed every price comparison site separately. The thesis looked for one answer for many sellers, with separate data and prices that change over time.
What I built
- A shared catalog, seller products and variants with stock and a history of movements
- Prices with validity windows, flash sales, quantity discounts, coupons and bundles
- A REST API with OpenAPI docs and XML feeds for Heureka
- Two Filament panels (admin and seller), price prediction and product descriptions via Gemini
The parts that took the most work:
- Prices over time with no gaps or overlaps. A flash sale, in one transaction, closes the current price, inserts the sale price and right away the return to the regular one. The history stays complete.
- Sellers' data kept apart. Three layers guard it: the tenant panel, per-seller roles and policies. Another seller's product returns 404 through the API.
Data model
All sellers share one catalog. Products, prices and coupons belong to a seller through tenant_id, and every price is a row valid from one date to another.
-
tenants
- id pk
- owner_id fk users
- name
- slug
- is_public
-
categories
- id pk
- parent_id fk categories
- name
-
global_products
- id pk
- category_id fk categories
- name
- slug
-
tenant_products
- id pk
- tenant_id fk tenants
- global_product_id fk global_products
- name
-
tenant_product_variants
- id pk
- tenant_product_id fk tenant_products
- sku
- price
- stock_quantity
-
price_history
- id pk
- tenant_product_variant_id fk tenant_product_variants
- price
- valid_from
- valid_to
-
coupons
- id pk
- tenant_id fk tenants
- code
- discount_type
- value
Result
I defended the thesis in 2026. The code is public on GitHub.
What I would do next
I would rewrite the prediction without the unmaintained php-ml library and add a Google Merchant feed.
What it looks like
1 / 16
-
Data model
-
Flash sale with a validity window
-
Pricing and quantity discounts
-
Price history and forecast
-
Coupon with rules and category restriction
-
REST API documentation
-
XML feed for Heureka
-
Approving catalog requests
-
Price spread report across sellers
-
Product variants in the seller panel
-
Stock history and recommended minimum
-
Where to buy: seller offers, cheapest highlighted
-
Public catalog with attribute filters
-
Seller page with products and bundles
-
Product page on a phone
-
Seller products on a phone
Looking for a backend developer or a similar app?
Send me a few lines. I reply within 2 working days.