Quick Summary

This Insight explains how Bacancy Technology built SaaS supply chain management software for a retail chain operating more than 120 stores and four distribution centers. It covers the operational gaps that delayed shipment updates, the event-driven architecture behind the platform, how duplicate and conflicting data was handled, and how real-time tracking reduced manual follow-ups, duplicate orders and stockouts across the network.

Introduction

Real-time shipment tracking in retail depends on something most legacy systems were never designed to do: turn carrier, warehouse and store events into a single, current view of every order in motion. At Bacancy Technology, our team built SaaS supply chain management software for a multi-location retail chain to do exactly that, bringing shipment updates from carriers, distribution centers and stores into one platform that operations teams could rely on minute by minute.

This gap is common across the industry. Tive’s 2025 State of Visibility report found that 37% of companies still struggle to monitor cargo in transit, especially in the mid-mile, where most retail delays begin. To keep shipment data consistent across every connected system, we based our event model on the GS1 EPCIS standard, which defines how applications create and share visibility event data within and across enterprises.

In this Insight, we walk through the operational gaps we found, the architecture we chose, how we handled duplicate and delayed events, and what changed once the platform went live across the retail locations.

The Operational Gaps That Made Shipment Tracking Difficult Across the Retail Chain

Before we wrote any code, our team spent the first few weeks with our retail chain client mapping how shipment information moved through their operations. The client operated more than 120 stores supplied by four regional distribution centers, with goods moving through a mix of national carriers and local freight partners. Each part of that network maintained its own shipment records, and these records rarely matched. Four gaps emerged consistently in our discovery sessions with their warehouse, logistics and store teams.

Disconnected Shipment Data Across Carriers and Warehouses

Every carrier our client worked with shared tracking data in a different format. Some offered APIs, others sent EDI files a few times a day, and a few smaller partners still relied on emailed spreadsheets. The client’s warehouse management system recorded when goods left the dock, but it had no connection to what happened after a carrier collected them. Their logistics coordinators manually checked five or six carrier portals to confirm the status of a single order, and that information was often outdated by the time they found it.

Delayed Updates Between Distribution Centers and Stores

Stores received information about incoming deliveries through a nightly batch report from the distribution centers. If a truck departed late, was rerouted or was split across two trips, the store was not informed until the next morning, and in some cases not until the delivery failed to arrive. Store managers planned staffing and shelf space around expected arrivals, so delayed updates led to underused receiving teams on some days and unplanned workload peaks on others.

Limited Visibility Into In-Transit Inventory

Once stock left a distribution center, it was no longer visible in the client’s inventory system until a store scanned it in. Their merchandising and replenishment teams could see stock on shelves and in warehouses, but not the large volume of goods moving between the two. This visibility gap led to duplicate replenishment orders for products already in transit, along with stockouts that could have been prevented if teams had known a shipment was running late. Closing gaps like this is central to improving supply chain visibility across a multi-location retail network.

Manual Follow-Ups for Missed or Delayed Deliveries

When a delivery missed its window, the follow-up process depended entirely on manual coordination. A store manager would contact the distribution center, the distribution center would contact the carrier, and the update would return through the same chain by phone or email. With no shared record of the issue, the same delay was often reported several times by different teams, while other missed deliveries went unnoticed until customers asked about out-of-stock items. Our client needed a single system that could detect these exceptions automatically and alert the right team before the delay affected store operations.

The Architecture Behind Our SaaS Supply Chain Management Software

The retail chain needed shipment status to be identical for every team that used it, whether that was the logistics desk at head office or a store manager waiting on a delivery. Their existing setup relied on scheduled syncs, which meant the data was always a few hours behind. For this reason, we built the SaaS supply chain management software on AWS using an event-driven model, where each scan, carrier update or delivery confirmation is processed as soon as the platform receives it.

The main components of the platform and the purpose of each are listed below.

Architecture Layer Technologies Used Purpose
Integration Layer REST and webhook connectors, EDI 214 parser, file ingestion service Receives shipment data from carrier APIs, EDI transmissions and partner spreadsheets. Dispatch scans from the warehouse management system and store receipts also enter here.
Canonical Event Model Schema based on GS1 EPCIS Converts incoming updates into a single record format covering the item, location, time and reason for each status change.
Event Streaming and Processing Apache Kafka, microservices Routes events to separate services for status tracking, ETA calculation and delivery checks. These services scale independently, which was useful during seasonal peaks.
Data Storage PostgreSQL, append-only event store, Redis PostgreSQL stores current shipment status, the event store retains full history for audit purposes, and Redis caches frequently accessed views.
Real-Time Delivery WebSockets, role-based dashboards Pushes status changes to user dashboards within seconds of an event being processed.
Multi-Tenant Access and Security Role-based access control, encryption, audit logging Restricts each user to the shipments relevant to their role and region. Data is encrypted in transit and at rest, and user activity is logged.

Because each layer was built separately, the platform could be extended without major changes. When the client added two freight partners during the rollout, our team built connectors for those partners while the processing and storage layers remained the same.

Planning a Real-Time SaaS Platform for Your Supply Chain?

Hire SaaS developers from Bacancy Technology who have built event-driven platforms connecting carriers, warehouses and stores into one live view.

How We Connected Shipment Events to Real-Time Retail Operations

With shipment events flowing into the platform, the next step was to deliver that information to the teams who needed it. Our client’s store managers, replenishment planners and logistics coordinators each required something different from the same data, so we connected the platform to the tools they were already using every day.

  • Store receiving schedules: Store managers previously planned the next day’s receiving work from a report that arrived overnight. Now the expected arrival time on their dashboard updates as soon as a carrier or distribution center reports a delay, which allows them to adjust staffing before the truck is due.
  • In-transit inventory: Goods leaving a distribution center are marked as in transit in the client’s inventory system, along with an expected arrival date for each store. Replenishment planners had been reordering stock that was already in transit. Once those shipments became visible, the duplicate orders stopped.
  • Exception alerts: Shipments are flagged when a scan is missed, when they fall behind their delivery window or when two sources report different statuses. We routed each alert to the team responsible for that stage of the journey. Dispatch issues go to the warehouse supervisor, and carrier delays go to the coordinator for that route, together with the last known location.
  • Delivery confirmation: Scanning a delivery at the store closes the shipment and checks the items against the dispatch record. If anything is short or extra, the distribution center is notified the same day. Before this, most mismatches were only identified during the monthly stock count.

What happens when a shipment is delayed:
The carrier reports that the truck is held at a depot.
The platform records this as a standard event and calculates a revised arrival time.
The store dashboard and the inventory system both update to the new date.
The logistics coordinator for that route receives an alert, since the delivery window will now be missed.
Once the store scans the delivery, the shipment record is closed and the alert is cleared.

In most cases, the store dashboard reflects the carrier’s update in under ten seconds.

Handling Duplicate Events, Delayed Updates, and Failed Integrations

During testing, we found that carriers sometimes sent the same update more than once, delivered some updates hours late and were occasionally unavailable. These are among the most common SaaS integration issues in multi-partner platforms, and our team built controls for each of them before the platform went live.

Preventing Duplicate Shipment Status Updates

  • Every event receives a unique key based on the carrier, tracking number, status code and event time.
  • If an incoming event matches an existing key, it is logged but does not update the shipment.

Recovering From Carrier API Failures

  • Failed requests are retried at increasing intervals to avoid overloading the carrier’s system.
  • Messages that continue to fail move to a separate queue for the support team to review and reprocess.
  • If a carrier connection stops responding, the platform switches to scheduled polling and alerts the integration team.

Reconciling Conflicting Shipment Records

  • Events are ordered by the time they occurred, so a late update cannot replace a more recent status.
  • Store receipt scans take priority over carrier updates, since they confirm the goods have arrived.
  • Conflicts that these rules cannot resolve are flagged for the logistics team to review.

Maintaining an Audit Trail of Shipment Events

  • Each original message is stored alongside the standardized event created from it.
  • Records can be added but never edited or deleted, and all manual changes are logged with the user’s name and time.
  • The logistics team can view the full timeline of any shipment when resolving disputes with carriers.

Testing and Launching the Platform Across Retail Locations

Since store teams would rely on the platform for daily receiving work, our client could not risk an outage or incorrect data at launch. Our team tested the system against real shipment data and then rolled it out in stages, one region at a time.

Testing Before Launch

We started by running three months of past shipment data through the platform and comparing the results with actual delivery records. This confirmed that statuses and arrival times were being calculated correctly. The system was then load tested at three times the client’s normal daily shipment volume, so it could handle peak periods such as the holiday season.

Our team also switched off carrier connections during testing to check that retries, queues and alerts responded as designed. In the final stage, store managers and logistics coordinators used the dashboards with test data and shared their feedback. Their input led to changes in how alerts and arrival times were displayed before launch.

Pilot and Phased Rollout

The platform first went live at one distribution center and the 18 stores it supplies. For four weeks, the existing nightly reports continued alongside the new dashboards so teams could compare the two and build confidence in the new system. After the pilot, the remaining three distribution centers and their stores were added one region at a time over the following two months.

Each region received short training sessions before going live, along with a quick reference guide for store and warehouse staff. During the first two weeks in each region, our team monitored the platform closely and resolved reported issues within the same week.

By the end of the rollout, all 120 stores and four distribution centers were using the platform, and the nightly batch reports were retired.

The Results: How Real-Time Tracking Changed Supply Chain Visibility

Three months after the full rollout, the Bacancy Technology team measured the platform’s impact by comparing the client’s operations with the same period in the previous year. The most significant improvement was that every team now works from the same shipment status, updated within seconds, in place of separate reports and carrier portals.

AreaBefore the Platform After the Platform
Shipment status updates Nightly batch report Under 10 seconds from carrier update
Carrier tracking 5 to 6 carrier portals checked manually One dashboard for all carriers
Time spent on delivery follow-ups About 25 hours per week across the logistics team Under 8 hours per week
Duplicate replenishment orders Frequent, due to no view of in-transit stock Reduced by 60%
Store stockouts linked to delayed shipments Recurring issue Down by 35%
Delivery mismatches identified During monthly stock counts On the day of delivery
Missed delivery windows reported to stores After the window had passed Before the expected arrival time

Conclusion

Before this project, the retail chain’s shipment information was spread across carrier portals, warehouse systems and overnight reports, and each team relied on different and often conflicting data. By converting every shipment update into a standard event and processing it as soon as it arrived, the platform gave store, replenishment and logistics teams one accurate view of each order in transit. Controls for duplicate events, carrier outages and conflicting records ensured that this view remained reliable as data volumes grew.

For retailers facing similar visibility gaps, this project shows that real-time tracking depends on how carrier, warehouse and store data is integrated and maintained consistently. A phased rollout, supported by testing against real shipment history, also allowed teams to adopt the new system without disruption to daily operations.

As a SaaS development company, Bacancy Technology works with retail and logistics businesses to design and build SaaS supply chain management software that fits their existing carriers, systems and operating processes. If your teams are still relying on delayed reports or manual follow-ups to track shipments, our engineers can assess your current setup and recommend the steps required to achieve real-time visibility.

Frequently Asked Questions (FAQs)

SaaS supply chain management software gives retailers one view of shipments, inventory and deliveries across carriers, distribution centers and stores. In retail, it is mainly used to track goods in transit, update stores on expected arrival times and flag delayed or missed deliveries. Because it runs in the cloud, every team works from the same data without maintaining separate systems.

The timeline depends on the number of carriers, the existing systems involved and the size of the store network. A platform with core tracking, dashboards and alerts typically takes four to six months to build and test. A phased rollout across regions can add another two to three months, which allows teams to adopt the system without disrupting daily operations.

Batch reporting collects shipment updates and shares them at set intervals, often once a day. Real-time tracking processes each update as soon as it arrives, so a delay or reroute appears on store and logistics dashboards within seconds. This gives teams time to adjust staffing, replenishment and customer communication before a delay affects store operations.

Hardik Patel

Hardik Patel

Technical Lead at Bacancy

Specializes in .NET Core, Web API, MVC, SQL, and Entity Framework, with a focus on clean code and scalable architecture

CONNECT WITH THE AUTHOR
SUBSCRIBE NEWSLETTER