Get in touch

Case study · Consumer electronics distribution

An AI Stock Allocation and Sell-out Reporting Platform Built to Help an Official Apple Distributor Share Limited Stock Across Resellers

  • Consumer electronics distributionIndustry
  • 3 AI solutionsDelivered
  • 3 servicesAI stock allocation, Serial-level sell-out tracking…
About Apple Distribution

Sharing limited stock and reporting every unit

A Jintech Group company is an official distributor of Apple products, supplying authorised resellers and retailers. New launches and popular models are often in short supply, and every unit must be traceable by serial number through to the reseller and its sell-out.

When a new model launched or a popular configuration ran short, deciding how many units each reseller should get was done in spreadsheets and phone calls, and resellers often felt the split was unfair. Afterwards, sell-out reports had to be compiled by matching serial numbers across shipments, reseller sales and returns, which took days every reporting cycle.

Sapiogen AI built an engine that recommends how to allocate scarce stock across resellers based on their sell-through, and a serial-level tracker that builds sell-out reports for the team to check.

What we built

What we built for Apple Distribution

Our collaboration resulted in the successful creation of:

  1. 01

    AI stock allocation

    Recommends each reseller’s share of limited stock from its recent sell-through, stock on hand and pending orders, with the reasons shown

  2. 02

    Serial-level sell-out tracking

    Follows every unit by serial number from shipment to reseller sale or return

  3. 03

    AI sell-out report builder

    Compiles sell-out reports from the serial data, flags mismatches and missing reseller sales data, and drafts a summary for the team to review

Apple Distribution · in one line

Limited stock allocated by sell-through, not guesswork, with every unit traced by serial number into ready-to-check sell-out reports

Build your AI allocation platform with us
Our process

From first walkthrough to scale

  1. Step 01

    Discovery

    • Allocation and sell-out process review
    • Serial data audit
    • Roadmap
  2. Step 02

    Design

    • Allocation rules
    • Serial tracking model
    • Report formats
  3. Step 03

    Build

    • Stock allocation
    • Sell-out tracking
    • Report builder
  4. Step 04

    Test

    • Trials on past launches
    • Team review
  5. Step 05

    Go-live

    • Rollout on the next launch
    • Team training and tuning
Challenges we solved

What stood in the way, and how we solved it

01

Allocation by spreadsheet

The challenge

Splitting scarce stock was slow and hard to explain to resellers.

How we solved it

Stock allocation recommends each reseller’s share using recent sell-through, stock on hand and pending orders, and shows the reasons, so allocation decisions are consistent and easy to explain.

02

Serial numbers spread across systems

The challenge

Shipment, sale and return records each held serial numbers in a different format.

How we solved it

Sell-out tracking brings them together, so every unit can be traced from the warehouse to the reseller and to its sale or return.

03

Days spent on sell-out reports

The challenge

Reports were compiled by hand each cycle.

How we solved it

The report builder assembles them from the serial data, flags units with missing or conflicting records, and drafts a summary, so the team checks a report rather than building it.

04

Keeping people in charge of allocation

The challenge

No allocation is released by AI.

How we solved it

The distribution manager reviews and adjusts every recommendation before stock is allocated, and the team checks every sell-out report before it is shared.

How we delivered

How our agile delivery built the AI allocation platform

Our team began by reviewing past launches, allocations and sell-out reports with the distribution team, and auditing how serial numbers were recorded at each step.

We designed and built:

  • AI stock allocation that recommends each reseller’s share of limited stock, with reasons
  • Serial-level sell-out tracking from shipment to reseller sale or return
  • An AI sell-out report builder that compiles reports, flags mismatches and drafts a summary

We first cleaned and linked serial data from past shipments and sales, tested allocation recommendations against past launches, and went live on the next product launch.

Tech stack used

The technology behind it

AI agents

  • Python
  • LangGraph

LLM

  • Claude on Amazon Bedrock

Allocation engine

  • Sell-through forecasting (LightGBM) with an allocation optimiser

Serial tracking

  • Event store linking shipment, sale and return records

Dashboard

  • Custom web app (Next.js, FastAPI)

Database

  • PostgreSQL

Hosting

  • AWS, Mumbai region
The results

What the system delivers

The distribution team gets a recommended allocation for every launch with the reasons shown, a serial-level trail for every unit, and sell-out reports to check instead of compile.

Per reseller
Recommended share of limited stock, with reasons
Every unit
Traced by serial number from shipment to sale or return
1
Draft sell-out report per cycle, with mismatches flagged
100%
Allocations and reports reviewed by a person before release
FAQ

Questions, answered

Thinking about a project like this? Ask the people who built it.

Consult our experts

How does AI decide each reseller’s allocation?

It recommends a share using each reseller’s recent sell-through, stock on hand and pending orders, and shows the reasons. The distribution manager reviews and adjusts every recommendation.

Can it track units by serial number?

Yes. It links shipment, sale and return records by serial number, so every unit can be traced from the warehouse to the reseller and its sale or return.

Are sell-out reports sent automatically?

No. The report builder drafts each report and flags mismatches, and the team checks it before it is shared.

How long does a project like this take?

Serial tracking and the report builder typically go live in 6–8 weeks, with stock allocation adding another 4–5 weeks once sell-through history is clean.

What does it cost to build an AI allocation platform like this?

Cost depends on the number of resellers and products, how serial data is captured today and the systems to connect. Sapiogen AI scopes it in a short discovery, then quotes a fixed price per phase plus a monthly fee for hosting and AI usage.

How is our sales data kept secure?

Data is hosted in India on AWS, encrypted in transit and at rest, and protected by role-based access so each reseller sees only its own allocations and data. Every AI action is logged, your data is not used to train AI models, and the system is designed for India’s Digital Personal Data Protection Act.

How do I hire Sapiogen AI to build an AI allocation platform?

Book a free consultation with our team. We’ll review your allocation and sell-out process and show where AI will save the most time.

More case studies

Your project next

Distributing high-demand products? Let AI help you allocate fairly and report accurately.

Let’s turn your vision into a success story. Tell us about one workflow; we’ll come back with how we’d approach it and what a pilot would take.

Share your project details

  • You own the code, prompts and data, with no lock-in.
  • Your details go only to our team.

Get in touch

Tell us what to build. Leave with a plan.

Share a few details and the people building your product will reply.

  1. Share your goalTell us what you want to build or improve next.
  2. Talk to an engineerWalk through your systems, data and security needs with the people who would build it.
  3. Get your planLeave with a clear next step: scope, timeline and what it would cost.

Share your project details

  • You own the code, prompts and data, with no lock-in.
  • Your details go only to our team.