You are here:
Set Up Cart Management and Order Fulfillment for Consumer Sales
Consumer Sales in Revenue Cloud for Communications provides APIs to manage your business-to-consumer (B2C) sales journey. By deploying the API-first Cart-to-Asset experience, you enable a seamless digital journey for anonymous shoppers. An anonymous shopper with an integration user profile can easily find, configure, and purchase products. This task involves using a suite of Connect REST APIs, persistent cart functionality, and standard Salesforce objects to create a consistent, high-volume customer management experience that boosts acquisition and streamlines industry-specific sales workflows.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions with Communications Cloud - Advanced |
| User Permissions Needed | |
|---|---|
| To assign permission sets: | Assign Permission Sets AND View Setup and Configuration |
| To assign a permission set license: | Manage Users |
| To create and update the procedure plan definition: | Procedure Plan Access AND Salesforce Pricing Design Time User |
| To configure pricing procedure: | Salesforce Pricing Design Time User |
| To set up Salesforce Pricing: | Salesforce Pricing Admin |
Before you begin, make sure that you have an org with Revenue Cloud license enabled. See Revenue Cloud documentation.
Assign Integration User to Unauthenticated User
The Integration User, sometimes called the System User, is an internal, API-only user that integrates features across the Salesforce platform. The integration user allows Salesforce apps to securely access data on different properties.
When an end user submits a request on your website, your system acts as a middle layer, translating the request to Salesforce through APIs. After Salesforce processes the request, the response is sent back to your system, allowing you to control exactly which details are shown to the end user. To facilitate this secure communication, your system must authenticate by using the Integration User profile.
Assign Permission Set License to Use Consumer Sales
Permission set licenses entitle users to access additional features not included in their assigned user license. You can assign any number of permission set licenses to the integration user.
For more information of Permission Set License,
- From Setup, enter Users in the Quick Find box, then select Users.
- Open the user record to assign the permission set license.
- In the Permission Set License Assignments related list, click Edit Assignments.
- Select the Salesforce API Integration permission set licenses.
- Save your changes.
Assign Permission Sets to Use Consumer Sales
Explore the recommended permission sets for integration users and make sure that they have the necessary access to perform critical tasks.
- From Setup, in the Quick Find box, enter Users, and then select Users.
- Open the user's record.
- In the Permission Set Assignments related list, click Edit Assignments.
-
Move these permission sets to the Enabled Permission Sets list.
- Consumer Sales User
- PlaceOrder API
- Product Catalog Management Viewer
- Salesforce Pricing Run Time User
- Product Configurator
- InitiateAmendment API
- InitiateCancellation API
- InitiateRenewal API
- Assetize Order
- Submit Transactions and Fulfillment User
- ProductAndPriceConfigurationAPI
- Save your changes.
-
Provide the integration user field-level access for the required objects.
- Create a custom permission set.
- From the Permission Set Overview page, click System Permissions.
- Click Edit, and select the View Setup and Configuration permission.
- Save your changes.
- Assign the created permission set to the integration user.
-
Enable the following field-level read access permission for
these object fields.
Objects Fields Orders BillingAddress ShippingAddress
Revenue Transaction Error Log RelatedRecord2Id Product CustomDecompositionScope Product Attribute Scope Scope - Save your changes.
Create and Activate Your Pricing Procedure
To apply pricing rules and logic to calculate the final net price of a product, you must first clone a predefined pricing procedure available with Salesforce Pricing or build a custom one. This is necessary because Salesforce ships a predefined template, not an executable procedure, meaning templates can’t be directly configured for use.
Before you update the pricing procedure, acquaint yourself with the various pricing elements. See Pricing Elements.
-
Create a pricing procedure as per your business requirements by using these supported
elements. For instructions, see Build Your Pricing Procedures Using Salesforce Pricing
and Use Pricing Elements in Pricing Procedures.
- List Price
- Attribute-Based Price
- Bundle-Based Price
- Tier Discount
- Volume Discount
- Manual Discount
- Subscription Pricing
Important Make sure to use ConsumerSalesContext context definition or the extended context definition that you’ve created. -
Save your changes by assigning a version number, rank, and start date time.
Note Select a Start Date Time that falls between the context definition's start time and the current date time. - Activate your pricing procedure.
Create and Activate Procedure Plan Definitions for Consumer Sales
To create a flexible and comprehensive workflow that adapts to your business needs, use a Procedure Plan Definition to combine and sequence individual procedures into a single, unified plan. You can start quickly with a predefined template or customize one from scratch to meet your unique requirements.
Create procedure plan definitions for WebCart and Order objects.
- From Setup, in the Quick Find box, enter Procedure Plan Definitions, and then select Procedure Plan Definitions.
- Click New.
-
Provide these details:
- Enter the title for the procedure plan definition.
- Enter the developer name for the procedure plan definition.
- Select Consumer Sales for the process type.
-
Select the object for which you want to create a procedure plan definition.
- WebCart
- Order
- Select ConsumerSalesContext or the extended context definition that you’ve created for the context definition.
- Optionally, enter the description for the procedure plan definition.
- Save your changes.
- Open the procedure plan definition that you’ve created.
-
Click Add in the procedure plan sections.
- Select Standard as the procedure plan section.
- Enter the name of the procedure plan section.
- Select Pricing Procedure for the section type.
- Save your changes.
-
Expand the procedure plan section that you’ve created.
- Select Pricing for the phases to associate your procedure with a phase.
- Select Default as the resolution type.
-
Select the pricing procedure that you have previously created for the procedure.
Note Make sure that the context definitions related to your procedure plan definition and pricing procedures are the same.
- Save your changes and activate your procedure plan definition.

