Cart Reference
Pre-release extensions are made available to encourage development and testing and to provide early feedback. They are not recommended for use in a live production implementation.
The CartExtension
namespace contains the following extensible base Apex classes:
- CartSummary (Beta)
- InventoryCartCalculator (Dev Preview)
- PricingCartCalculator (Beta)
- PromotionsCartCalculator (Beta)
- ShippingCartCalculator (Beta)
- TaxCartCalculator (Beta)
CartSummary is currently limited to the following set of cart and checkout operations:
- AddItemToCart
- EditCartItem
- StartCheckout
- PatchCheckout (address, set delivery method)
The remaining cart operations, including DeleteCartItem, AddCoupon, and DeleteCoupon are not supported.