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.

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

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.

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)

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

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

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

Tracks how products and services are priced. By default, this extension uses Salesforce price books for pricing data.

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

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

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

Applies taxes to products in the cart.

The extension listed in this section is used for checkout but doesn't affect cart calculations, so it isn't part of the Cart Calculate API.

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

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

Expands product information by adding return reasons.

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.