Available Extensions

This page lists all the extensions that are available for Salesforce Commerce. New extensions are added as they become available.

To create an extension provider, you must know which base Apex class to extend and the extension point name for mapping. Both the the base Apex class name and extension point name are listed for each extension.

This page lists two types of extensions: domain and endpoint.

Domain extensions extend functional domains, such as cart calculation. In contrast, endpoint extensions extend selected Connect API endpoints.

important: The release status and availability varies from extension to extension. This page is updated to reflect the latest release status of each extension.

Domain Extensions for Buyer Group

The extension listed in this section is used for Buyer Group.

Buyer Groups Extensibility Service

Dynamically assign users to buyer groups by executing custom Apex business logic.

Domain Extensions for Cart Calculate API

The extensions listed in this section are all functionally related, and they all support cart calculations, including cart calculations that occur during checkout. These extensions comprise the Cart Calculate API.

Cart Calculate

Orchestrates multiple calculators to summarize the total cost in a cart. See Orchestrators and Calculators.

Each calculator is a separate extension that you can customize separately.

CartCalculate currently supports the following set of cart and checkout operations:

  • AddItemToCart
  • EditCartItem
  • DeleteCartItem
  • AddCoupon
  • DeleteCoupon
  • StartCheckout
  • PatchCheckout (address, set delivery method)

Inventory Cart Calculator

Calculates inventory for cart and checkout based on the inventory service.

Inventory Service

Reserves and tracks available inventory. By default, this extension uses the Omnichannel Inventory (OCI) system for inventory data.

Pricing Cart Calculator

Calculates pricing for cart and checkout based on the pricing service.

Pricing Service

Tracks how products and services are priced. By default, this extension uses Salesforce price books for pricing data. If your store uses Faster Add-to-Cart, make sure that all products have an entry in a store price book before implementing the pricing service extension.

Promotions Cart Calculator

Calculates promotions for cart and checkout. By default, this extension uses the Salesforce promotions service to perform its calculations.

Shipping Cart Calculator

Calculates shipping costs. By default, there's no charge for shipping, so you must extend the base Apex class to see any effect.

Tax Cart Calculator

Calculates taxes for cart and checkout. By default, this extension uses the Salesforce tax service to perform its calculations.

Tax Service

Applies taxes to products in the cart.

Domain Extensions for Checkout

The extensions listed in this section are used for checkout but don't affect cart calculations, so they aren't part of the Cart Calculate API.

CreateOrder Service

During checkout, this extension creates an order using information from the cart.

PlaceOrder Service

During checkout, when a buyer places an order, this extension runs cart validations as part of the Place Order Action API. To implement custom validation logic, extend the base Apex class and override the validate method.

SplitShipment Service

During checkout, this extension arranges cart items across delivery groups. To implement custom Item Arrangement logic, extend the base Apex class and override the arrangeItems method.

Domain Extensions for Order Management

The extension listed in this section is used for Order Management.

ProductExpand Service

Expands product information by adding return reasons.

Endpoint Extensions

Extends selected Connect API endpoints, allowing you to modify the endpoints request payload before the endpoint is called, or to modify the response after the endpoint is called, or both.

Unlike domain extensions, endpoint extensions extend the same base class.

Account

Product Catalog

Cart

  • Extension point name: Commerce_Endpoint_Cart_Item -- extends the Commerce Webstore Cart Item endpoint. Available in version 62.0 and later.
  • Extension point name: Commerce_Endpoint_Cart_ItemCollection -- extends the Commerce Webstore Cart Items endpoint. Available in version 62.0 and later.

Product Search

Product Suggestions

See Also