Skip to content
All projects
OPERATIONSCASE STUDY

Repricing Engine

A daily repricer for thousands of SKUs. It checks margin floors, buy-box position and competitor price changes before setting a price. Exceptions go to a person.

Year
2025
Context
JS Labs
Role
Design, engineering, and operations
Stack
Next.jsSupabaseVercel CronMarketplace APIs

01. The challenge

Manual repricing could not keep up with competitor changes across thousands of SKUs. Automatic price cuts risked selling below margin. The team needed to compete for the buy box only where the price was profitable.

02. The approach

I built a daily repricer with a minimum margin for each SKU, calculated from fees, fulfilment and currency conversion. The pricing rules cannot cross that floor. They use buy-box position and the direction and speed of competitor price changes. Unusual cases go to a person for review.

03. What I built

A margin floor for each SKU, checked before publishing any price

Buy-box tracking and the direction and speed of competitor price changes

Daily Vercel Cron runs with a full pricing history in Supabase

A review queue for conflicting rules and unusual competitor changes

04. The outcome

The engine reprices thousands of SKUs and blocks prices below their margin floors. The team reviews a short list of exceptions each morning.

Daily runsMulti-SKUMargin floors

Want something like this built for you?

I take on a small number of builds each year. Tell me the job and the tools it needs to work with.

GET IN TOUCH