---
schema_version: "1"
id: 8d660ac49d7cb8734e11cca1e5c0b7c09117952d281355a647fc718846bd3179
title: B2B Commerce Headless Flow Orchestration
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/salesforce-commerce/guides/d2c-commerce/b2b-comm-end-to-end-buyer-journey.md
canonical_url: https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-end-to-end-buyer-journey.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3451a503eb26944824d78a8b68388983a51121df15aa0c282636d75e883897ff
products:
  - B2B Commerce Developer Guide
  - Salesforce APIs
---
# B2B Commerce Headless Flow Orchestration

The storefront implementation is organized around the following buyer lifecycle:

![Storefront Home Overview](https://developer.salesforce.com/media/d2c-commerce/b2b-headless-b2b-commerce-headless-flow-orchestration-storefront-home-overview-6-1.png '{"class": "image-lg", "title": "Storefront Home Overview"}')

To see this buyer journey implemented end to end, explore the [B2B Commerce headless reference app](https://trailsignup-9caf26dfcaf0fa.my.site.com/commerceb2bheadless) and its [source code on GitHub](https://github.com/trailheadapps/commerce-b2b-headless).

Each stage is documented with:

- User flows
- Frontend implementation details
- Connect REST APIs used
- Authentication requirements
- State transitions
- Error handling considerations
- Performance recommendations

The full journey sections are documented in these topics:

- [Storefront (Home)](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-storefront-home.md)
- [Product List Page (Category/PLP)](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-product-list-page.md)
- [Product Detail Page (PDP)](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-product-detail-page.md)
- [Cart](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-cart.md)
- [Checkout](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-checkout.md)
- [Order Confirmation](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-order-confirmation.md)
- [Orders (History)](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-orders-history.md)
- [Login](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-login.md)
- [Register](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-register.md)
- [Profile](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-headless-profile.md)
