Cart and Checkout Management
General summary
The purpose of this document is to present a business overview of Cart and Checkout services. The document will present the integrations of these two services BEES architecture and also the requirements for their correct functioning.
The Cart Service is responsible for receiving all the cart simulations from B2B Front-End applications, validating if the selected items, combos and promotions are still available for the user and gathering information from other services, Cart Calculator and ERP when needed.
Checkout Service is responsible for validating Cart information before making a request to the Order Service to create a new Order for that Cart.
This document describes in a high level these services architecture with focus on their integrations. For basic information of the microservices see documentation of BEES micro-services
Cart Service
The Cart Service will consume information from multiple services like Inventory, Combos and Promotions to simulate an Order with the selected Items.
Requirements
These are the integrations that should be working for the correct functioning of this service:
Service
Description
Documentation Link
Account Service
Gets information about payment method, credit and accounts status
Cart Calculator / Price Service
Performs the Order Simulation, Items availability, and checks the prices.
Combos Service
Get all Items that is part of a selected combo
Inventory Service
Validate if the sku is available on the delivery center.
Items
To validate the returnable items (if applicable).
ERP/Heroku
This is used to find price divergence between Price Engine and ERP
not available
Empties Service
When purchasing returnable items make empties validations that can be different per zone. When the functionality is enabled to the zone.
not available
Loyalty Business Service (Rewards)
Redeem the account loyalty points (if applicable).
not available