Aura versus LWR store integration architecture
Key Takeaway
Aura stores run integrations through the managed B2B checkout flow and the Async Cart API. LWR stores run them through predefined flows and Connect REST API services that shopper actions trigger.
A B2B store can be built on the Aura template or on the LWR (Lightning Web Runtime) template. Each template connects to outside services for things like pricing, inventory, shipping, tax and payment in a different way. So a developer needs to know which template a store uses before working on its integrations.
Aura and LWR store templates
When you create a store, you can pick a B2B or B2C template built on LWR. A B2B template built on Aura is offered only if the org was enabled for Commerce before Spring '23.
LWR stores use the Lightning Web Components (LWC) programming model, while Aura storefronts use the Aura Components programming model.
Salesforce recommends the B2B LWR template for new stores. Salesforce also recommends considering a move of existing Aura B2B stores to LWR.
Moving an Aura store to LWR means switching to the B2B Commerce (LWR) template and refactoring or replacing certain UI components. You don't rebuild the store from scratch.