The B2B Commerce Checkout Flow provides several core actions for implementing a
successful checkout process within your Commerce org. To add one of these actions to your flow,
add an Action element. Then select the B2B Commerce category, and search
for the appropriate action.
These actions use Apex-defined input and output variables that map to input and output
classes in the Apex ConnectApi namespace. For more
information on using Apex-defined variables in flows, see Considerations for the Apex-Defined Data Type.
Activate Order Action In a B2B Commerce Checkout flow, activate a Salesforce standard draft order.
Calculate Cart Promotions Action In a B2B Commerce Checkout flow, request a full calculation of all line items in the cart that have a promotion.
Calculate Cart Taxes Action In a B2B Commerce Checkout flow, request a tax cost calculation for all line items within the cart.
Cancel Cart Async Operation Action In a B2B Commerce Checkout flow, cancel the current checkout so the user can return to an unlocked cart. This operation automatically executes when cart changes are invoked, such as add to cart.
Cart to Order Action In a B2B Commerce Checkout flow, create a Salesforce standard order in draft mode.
Check Cart Inventory Action In a B2B Commerce Checkout flow, request a full inventory availability check of all line items in the cart.
Checkout Session Action In a B2B Commerce Checkout flow, get or create a checkout session, and return the ID of the session to the caller.
Price Cart Action In a B2B Commerce Checkout flow, request a reprice of all line items in a cart.
Update Checkout Session Action In a B2B Commerce Checkout flow, the Update Checkout Session action updates the checkout session state if the current state matches the expected state. This action provides consistency during checkout handling and guarantees that if two browsers attempt to update the state, one succeeds and the other fails validation.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.