Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
B2B Commerce Checkout Flow Core Actions

B2B Commerce Checkout Flow Core Actions

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.

Required Editions

Available in: Lightning Experience
View supported editions.

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 Shipment Costs Action
    In a B2B Commerce Checkout flow, request the shipping costs of all line items within the cart.
  • 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 runs 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.
 
Loading
Salesforce Help | Article