Loading
Prepare for Email to Become the Default Login ExperienceRead More
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Media Cloud
Manage Anonymous Consumer Journeys by Using Consumer Sales Business APIs

Manage Anonymous Consumer Journeys by Using Consumer Sales Business APIs

To offer a seamless and consistent customer management experience for business-to-consumer (B2C) engagements, integrate Consumer Sales with Subscriber Lifecycle Management. This integration helps for effective management of cart-based journeys for residential and small business unauthenticated end users that have an integration user profile.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions with Media Cloud Advanced

Connect REST APIs give your admins a streamlined, industry-specific interface for every phase of the sales journey. The API-first Cart-to-Asset experience provides a ‌digital experience for anonymous shoppers. An anonymous shopper with an integration user profile can effortlessly find, configure, and purchase products in a consumer-friendly experience.

After the admin configures the integration user profile for the guest user with API only access, system integrators can integrate business APIs with external systems. The APIs show customers the product with pricing information instantly based on the selected configuration that they can add to their cart. After the products are added to the cart, the checkout process converts this cart into an order.

App Usage Assignment

When a user with the Consumer Sales User permission set creates a WebCart with the Consumer Sales type, the system generates an AppUsageAssignment record. The system links this record to the cart by using the cart ID and tags it with the Consumer Sales app usage type.

This assignment propagates to subsequent orders and assets. The Consumer Sales app usage type is required for the Product Configuration API, Place Sales Transaction API, and Create Order API to function correctly with the ConsumerSalesContext context definitions.

Important
Important If you create an order manually in the org, you must handle the App Usage Assignment appropriately before triggering any APIs.

Consumer Sales Business APIs

Explore the comprehensive reference library of business APIs for Consumer Sales.

Product List API
Use the Product List API to provide customers with a list of products that are eligible for customer carts. The API gets the list of products for a specified catalog, category, or subcategory, so that the user can start their shopping journey.
Get Promotion Details API

Use the Get Promotion Details API to retrieve comprehensive information for a specific promotion. The API provides detailed data including formatted terms and conditions in rich text, specific start and end dates for validity, and the precise criteria a customer must meet to qualify for the offer.

Get Eligible Promotions API

Use the Get Eligible Promotions API to retrieve and display active promotions that apply to specific products. The API helps customers identify relevant savings while they search for items or view product details.

Product Details API
Use the Product Details API to provide customers with product details, such as attributes, hierarchy, or cardinality of individual product records or ‌‌bundle-based product records, such as price, features, terms, and eligibility rules. The API gets the product details based on a specified product ID.
Bulk Product Details API
Use the Bulk Product Details API to provide customers with details of multiple products for comparing features and prices side by side. The API gets the details of multiple products at once based on the product IDs provided.
Product Configuration API
Use the Product Configuration API to retrieve and update a product’s configuration from a configurator. This API runs configuration rules and notifies users of any violations for changes to product bundles, attributes, or product quantities within a bundle. Also, this API gets pricing details for the configured bundle.
Place Sales Transaction API
Use the Place Sales Transaction API to place a sales transaction with integrated pricing and configuration, and manage the transaction throughout its lifecycle. This API enables users to create, configure, price, and tax a cart or an order efficiently. It offers significant performance and scalability by managing the state of the shopping session.
Create Order API
Use the Create Order API to create an order from a cart ID or context ID. When you provide both the inputs, the cart ID takes precedence. This API runs in sync mode to support only one order.
 
Loading
Salesforce Help | Article