Skip to main content
Join the Agentforce Hackathon on Nov. 18-19 to compete for a $20,000 Grand Prize. Sign up now. Terms apply.

Explore the Salesforce B2B Commerce and D2C Commerce Data Model

Learning Objectives

After completing this unit, you’ll be able to:

  • Describe the function of a store in Salesforce.
  • Explain how the store object relates to other standard objects in the data model.
  • Explain the relationship between the product, price book, buyer group, and entitlement policy objects.

The B2B Commerce and D2C Commerce Data Model

The Commerce data model is a set of Salesforce platform objects designed to support B2B and D2C business functions. B2B and D2C stores share the base objects of the Commerce data model. In this unit, you learn about the composition of the data model and the functional relationships between the base objects.

The Commerce store template is built on a preconfigured data model. The data model supports standard and customizable business objects for a multitude of business relationships and interoperability with the Commerce app, Salesforce Order Management, and Service Cloud.

The Commerce data model connects the store objects. Default object relationships support a full-featured B2B or D2C store experience.

When you create a B2B or D2C store, a common set of standard objects is added to your org. The set includes:

  • Catalog: A catalog is the entire collection of products offered in your store.
  • Category: A logical grouping of products. Create multiple categories for a navigable hierarchy.
  • Entitlement Policy (B2B only): The B2B customer gatekeeper that manages access to products and prices.
  • Product: The products that are available to customers.
  • Price Book: The negotiated pricing (B2B) or available pricing (D2C) for buyers and shoppers.
  • Buyer Account (B2B only):* The B2B data that represents a specific buyer.
  • Buyer Group:* A grouping of B2B buyers that share common characteristics.

*These objects are limited to specific licenses. Many of them are also used in other licenses, such as product, price book, price book entry.

The Store Object

The store object represents your website. Think of the store object as the commerce transaction hub, with transaction elements placed around it like spokes. This framework gives you maximum flexibility for your business requirements.

By default, the following data is associated with the store object.

  • A default store experience
  • A set of supported languages
  • A set of supported currencies

B2B and D2C Commerce stores (websites) use a template and component-based approach for the front-end buying experience. Commerce merchandisers use the templates and Lightning Web Runtime (LWR) components to showcase products, arrange information for shoppers, and process orders for your store.

After you configure a B2B or D2C store, it becomes a container for your commerce data held in these objects: catalogs, categories, price books, products, buyers, buyer groups (B2B only), and entitlement policies (B2B only). Your strategies for customer engagement, merchandising, and order processing determine how you configure these commerce data model objects.

A sample Salesforce Commerce data model.

Catalogs

Catalogs are the organizational object that enables you to offer products in a store. Each B2B and D2C store has a specific catalog of products.

Categories

Categories play a crucial role in organizing and presenting products to customers. In the Commerce app data model, the Category object represents categories and subcategories. This object controls how customers search for a product.

Categories have a hierarchical structure that typically represents a parent-child relationship. A single catalog includes categories and subcategories up to five levels. Use the tree-like structure to create product groupings that make it easier for customers to navigate and find products that are similar or belong to a specific category.

A diagram of the catalog and category relationship.

Products

Products are the things you sell. The product object lists each of your products as a record in the product object. The product record contains data such as product descriptions, specifications, and links to product media that help customers make informed decisions. Each product has its own identifying store-keeping unit (SKU) number.

Price Books

The price book object manages and organizes product prices. It plays a crucial role in determining the unit prices of products or services. A price book is required to display prices for opportunities, quotes, and orders.

The data model supports a standard price book along with custom price books that are linked to buyer groups. You can also configure a strikethrough price book that highlights reduced pricing for customers.

The Salesforce Commerce data model catalog section.

Buyers and Buyer Groups

A buyer is an individual or a contact associated with a business or organization that purchases products or services. Buyers are assigned roles, responsibilities, and permissions related to the buying process. A buyer can be associated with a specific account or buyer group.

A buyer group is a collection of individual buyers who share common characteristics or attributes. Buyer groups are often organized based on factors such as the type of business, industry, or purchasing preferences. Buyer groups simplify the management of buyers with similar needs, so consider collecting buyers with the same roles, entitlement policies, and contract pricing into a buyer group.

Entitlement Policies

An entitlement policy is an object that enforces specific conditions for buyer access to certain products and prices. Buyer groups are linked to Entitlement policies. For example, an entitlement policy can specify that a buyer group in a certain tier or with a specific subscription level is entitled to access premium products or services.

The Salesforce Commerce data model price book sections.

Bringing It Together to Connect the Data

The Commerce data model includes objects, underlying objects, and features that support B2B and D2C business functions. With the store as your hub, organize your products into categories that enhance customer navigation and product search.

The product object includes records that detail each product including descriptions and SKUs. All your products are linked to standard and strikethrough price books. Custom price books in turn support entitlement policies that offer B2B buyer groups access to select products and pricing.

Next Steps

In this unit, you learned about the Commerce data model and how the relationship between the model’s key objects streamlines the setup, operation, and management of a B2B and D2C store. Next, learn about the tools and features administrators use to build B2B and D2C stores.

Resources

Comparta sus comentarios sobre Trailhead en la Ayuda de Salesforce.

Nos encantaría conocer su experiencia con Trailhead. Ahora puede acceder al nuevo formulario de comentarios cuando quiera desde el sitio de la Ayuda de Salesforce.

Más información Continuar para compartir comentarios