Transform the retail customer experience with APIs on a mainframe  

Deliver personalized customer experiences using APIs and retail business processes on a mainframe

Last updated | By Dave Willoughby


Today’s retailers need to gather insight from their data to provide a unique shopping experience for their customers. This pattern shows developers how to create retail applications that leverage data from enterprise IT infrastructure using APIs in a hybrid cloud environment without requiring specific knowledge of the underlying infrastructure.


The retail industry is fundamentally changing, and retailers need to provide unique in-store experiences to survive. According to one Accenture Interactive study, “56% of consumers are more likely to shop at a retailer in store or online that recognize them by name.” Stores providing unique and personalized in-store experiences will continue to thrive, but they need to take advantage of their existing enterprise IT infrastructure and new systems of insight. By being agile and flexible in how they gain insight, retailers will be better able to adapt to changing environments and grow their business.

Today, most retailers host their core business support systems and applications on mainframes such as IBM Z, including 18 of the top 25 retailers. To stay ahead of their competitors, they need to digitally transform their business operations to increase revenues and improve the buying experience. API-centric commerce platforms and microservices, enterprise IT infrastructure, and personalization engines are now necessary components of digital business, delivering growth and innovation in a digital commerce platform.

So what’s your role in retail’s digital transformation? In this developer pattern, you’ll access retail data located in data centers hosted by core business support systems on IBM Z, which also hosts sales data, inventory, and all historical data. Supporting applications are hosted on IBM CICS® and IBM z/OS® thru APIs.

You’ll use an app to access data on IBM Z through APIs, and you’ll analyze buying patterns and generate recommendations to customers on their mobile phones. These in-store recommendations increase revenues, and personalized touch points greatly improve the customer experience. The pattern will show you how to access enterprise data using IBM API Connect to track personalized buying patterns. You’ll then be ready to use IBM Watson Analytics™ and machine learning algorithms to write new applications to increase in-store revenues.


  1. Test the Retail REST API on the developer portal.
  2. Create the Virtual Shopping List mobile app and supporting web services in IBM Cloud.
  3. Create and populate the mobile app tables in Cloudant.
  4. Test the Virtual Shopping List mobile app end-to-end.
  5. Explore customer purchase history data in IBM Watson Analytics.

Related Blogs

Leveraging the power of AI at Unite Berlin

Last week, from June 19 – 21, we were at Unity’s premiere in Berlin: Unite 2018. This conference brought together Unity’s video game and development community. Unity touches 770 million gamers all over the world and is the market leader for consumer AR and VR use cases and is also rapidly emerging as the market...

Continue reading Leveraging the power of AI at Unite Berlin

Are You Developers? WeAreDevelopers, 2018

Earlier this year, we attended the WeAreDevelopers World Congress conference in Vienna. Named Europe’s largest playground for developers, founded as recently as 2015, the Congress has truly grown from strength to strength. From May 16th – 18th there were 8,000 participants, 250+ speakers, 100+ sponsors, who all convened in Austria’s capital for 3 days of...

Continue reading Are You Developers? WeAreDevelopers, 2018

Related Links