Avios

Delivering a serverless OMS for multi-brand fulfilment at scale

A future-proof, modular design

The OMS was built to be modular and platform-agnostic, integrating with middleware via API Gateway. This enables seamless support for multiple brands, 3PLs, and storefronts without direct coupling, making it easy to extend and replicate as the IAGL group grows.

Elastic scalability

The solution elastically scales to demand, with capacity to handle the required 2,000+ daily orders and beyond. This ensures performance and reliability as order volumes increase.

Simplified operations and improved customer experience

Order fulfilment is now fully automated, with orders monitored in real time and routed directly to the correct 3PL. Where required, orders are split by brand with no manual intervention. This provides IAGLR with greater control and consistency, while enhancing the end-customer experience.

SITUATION

Overview

The Avios Shop is an online portal where customers can spend accrued loyalty points on Apple products. Built as a headless solution integrated with BigCommerce for IAG Loyalty Retail (IAGLR), Leighton initially developed the shop as a proof of concept before moving it through to soft launch - at this stage, the platform was processing around 50 orders per day.

With ambitious growth plans, IAGLR needed to ensure the shop's order fulfilment processes could scale to meet projected demand of more than 2,000 daily orders. They also planned to expand the store's product portfolio, introducing additional brands and integrating with multiple third-party logistics providers (3PLs). This meant order fulfilment would become significantly more complex, with individual orders potentially split across several brands and routed to different 3PLs for delivery.

The legacy order management processes in place for other shops in the group were not fit for the Avios Shop's potential scale. Order data was pulled from BigCommerce in half-hourly batches, creating delays, causing reliance on manual intervention and preventing real-time visibility into stock and fulfilment. This also left IAGLR heavily dependent on 3PLs for updates, limiting their ability to control the customer experience.

With plans to onboard additional brands and products to the shop imminently, and launch additional eCommerce stores into the IAGLR group using Avios Shop as the blueprint, adding further demands on the system, IAGLR required a modern order management system (OMS) capable of replacing manual batch-driven processes with real-time, event-driven order handling, scaling seamless to support rapid growth in order volumes, and providing end-to-end visilibty of orders while reducing reliance on third parties and ensuring resiliene.

Solution

Building a scalable, serverless OMS

LLeighton worked with the Avios Shop team to develop a new Order Management System (OMS) that would give IAGLR full visibility of order status, provide tracking information, and ensure a seamless customer experience. The system needed to integrate seamlessly with the headless storefront, middleware, and BigCommerce to support reliable, scalable order handling.

A critical requirement was the ability to scale order fulfilment across multiple third-party logistics providers (3PLs). Leighton created an OMS that could split orders by brand and automatically route them to the correct 3PL for fulfilment, a process that ensures the system can grow alongside IAGLR’s expanding product portfolio and multi-brand strategy.

Collaborative design and modelling

Resilience, scalability, and customer experience were prioritised from the outset. Working closely with IAGLR, Leighton facilitated event storming workshops to map every step of the order lifecycle, from placement to fulfilment. This provided a clear architectural blueprint and alignment with the customer’s business processes.

Using C4 modelling and low-level AWS technical designs, the team kept stakeholders engaged and informed throughout. The result was a fully serverless OMS with Webhook integrations, enabling rapid onboarding of new brands, stores, and 3PLs. Rigorous testing validated the design: more than 800 unit tests and 30 end-to-end tests were executed with zero defects, while independent penetration testing confirmed no vulnerabilities.

Event-driven architecture on AWS

At the core of the OMS is an event-driven architecture using AWS services to provide real-time, reliable processing. Orders are now captured and routed instantly, rather than in half-hourly batch cycles, allowing IAGLR to scale seamlessly from tens to thousands of daily transactions. This architecture delivers flexibility, scalability, and the responsiveness required for high-throughput retail operations.

To deliver resilience, scalability, and operational insight, the system incorporated a range of AWS services and integrations:

Future-ready insight
Scalable integration
Resilient order handling
Fully serverless compute and storage

Tech stack

To deliver a scalable, event-driven OMS, Leighton implemented a modern serverless architecture on AWS. The following technologies were used to ensure high throughput, resilience, and seamless integration with IAGLR’s wider systems:

AWS Lambda
AWS DynamoDB
Amazon CloudFront
Amazon Route53
AWS CDK
AWS CloudWatch
Datadog
TypeScript
Snyk
AWS NAT Gateway
Amazon API Gateway
Amazon SNS FIFO
Amazon SQS FIFO
AWS WAF
IMPACT

Scalable growth and accelerated delivery

By building an OMS that fully leveraged AWS, Leighton delivered a robust, scalable platform that could grow in line with IAGLR’s ambitions. The event-driven, serverless architecture eliminated reliance on costly servers while automating the entire fulfilment process, from order placement through to delivery, to improve both efficiency and customer experience.

By architecting a modular and scalable OMS that is platform-agnostic, we’ve enabled seamless integration with 3PLs via API Gateway. Initial order intake is handled through a store-agnostic middleware API, allowing the OMS to support multiple brands and storefronts without direct coupling. This design ensures flexibility, extensibility, and repeatability, making it easy to onboard new stores or partners as the business grows. 

  • A future-proof, modular design

    The OMS was built to be modular and platform-agnostic, integrating with middleware via API Gateway. This enables seamless support for multiple brands, 3PLs, and storefronts without direct coupling, making it easy to extend and replicate as the IAGL group grows.

  • Elastic scalability

    The solution elastically scales to demand, with capacity to handle the required 2,000+ daily orders and beyond. This ensures performance and reliability as order volumes increase.

  • Simplified operations and improved customer experience

    Order fulfilment is now fully automated, with orders monitored in real time and routed directly to the correct 3PL. Where required, orders are split by brand with no manual intervention. This provides IAGLR with greater control and consistency, while enhancing the end-customer experience.

  • Speed to value

    Although IAGLR initially expected the project to take two years, Leighton delivered the OMS in just four months. This accelerated timeline enabled a phased launch, allowing IAGLR to realise value sooner and adapt rollout plans based on live feedback.

  • Single source of truth for orders

    By integrating with Datadog, and with the potential to extend into Snowflake, the OMS provides a single view of all order data. This gives IAGLR valuable commercial insight into performance, product demand, and return patterns, while reducing reliance on 3PLs and strengthening ownership of fulfilment data.

  • Secure and resilient by design

    Built on AWS services including SQS FIFO and SNS FIFO, the OMS guarantees ordered, reliable message delivery across services. Failed transactions are automatically retried, with CloudWatch alarms triggering proactive interventions for stuck orders. Independent penetration testing has twice confirmed zero vulnerabilities, giving IAGLR confidence in both resilience and security.

Similar case studies
Smart phone showing loyalty points being redeemed
Unlocking scalable growth: a blueprint for success
The Wine Flyer
View case study
Equans login screen, ready for user authentication and access to the platform's services.
Scaling SLAM portal invocations by over 1000%
Equans
View case study
Tablet and smartphone showcasing the user interface and functionality on different devices.
Testing market viability with an MVP in 20 weeks
iamproperty
View case study
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.