Get Started
If you're considering developing a sophisticated business-to-business sales platform or a direct-to-consumer online store for your organization, leverage Salesforce's B2B Commerce and D2C Commerce APIs alongside Lightning Experience capabilities to build robust and scalable e-commerce solutions.
Start by designing your platform to meet your organization's unique business requirements. Integrate seamlessly with critical third-party applications to enhance functionality and extend capabilities as needed.
Use the Commerce Experience Builder template as the foundational tool for creating personalized commerce environments. Customize this powerful tool to serve retailers, wholesalers, distributors, and consumers, ensuring seamless purchasing experiences across every channel.
Here are some key topics covered to help you, as a developer, learn the Salesforce Commerce APIs and access the developer resources essential for successfully building a complex B2B sales platform or a direct-to-consumer online store:
- Data Models:
- Understand the essential data models for commerce applications, which include cart, checkout, product and catalog, product attributes, pricing and promotions, inventory, store, and order processing. Better understanding of these models ensures efficient operations and a seamless user experience in your e-commerce solutions. See B2B and D2C Commerce Data Model.
- Commerce APIs:
- The B2B and D2C Commerce Developer Guide details how to use the Connect Commerce API for managing various e-commerce functions within Salesforce. This API helps integrate and manage web store operations like product catalogs, inventory, customer carts, and order processing. It enables developers to build seamless and robust e-commerce solutions for both B2B and D2C settings. See B2B and D2C Commerce APIs.
- Customization and Extension:
- Learn how to customize and extend your e-commerce solutions using Salesforce's tools and frameworks. This section focuses on enhancing functionality, integrating with services, and tailoring the shopping experience to meet specific business needs.
- Salesforce Commerce Cloud supports extensive customization and integration. Learn various approaches to extend the commerce capabilities of Salesforce, including using APIs to connect with external applications like ERP systems and payment gateways. See B2B and D2C Commerce Extensions.
- Integrations:
- Explore integration points for B2B and D2C Commerce, especially within the cart and checkout experience. Integration services work seamlessly across both B2B and D2C stores.
- Predefined flows simplify package integration for tax, shipping, and payment providers for B2B and D2C stores created with an LWR template. Understand how integration platforms and various components interact for a B2B store created with the Aura template. See B2B and D2C Commerce Integrations.
- Payment Processing Setup:
- Learn how to set up a payment gateway and connect it to your checkout process. The guide covers both server-side and client-side payment processing implementations. Last steps in implementing payment processing include connecting the payment gateway to checkout in your store. See Set Up Payment processing.
- Building Custom Components Using LWC and LWR:
- Lightning Web Components (LWC) and Lightning Web Runtime (LWR) are innovative technologies from Salesforce that allow for highly customizable and efficient front-end experiences. This guide will walk you through using these technologies to build customized storefronts that are both engaging and fast.
- Learn how to add custom components to your B2B or D2C store using an LWR template. Salesforce recommends using the Salesforce Developer Experience (SFDX) environment for building Lightning web components (LWC). See Build Custom Components.