Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Performance-Optimized getCartsItems API Trim Mode

          Performance-Optimized getCartsItems API Trim Mode

          The getCartsItems API now includes Trim Mode to support high-scale transactions involving complex product bundles (200+ items). This feature optimizes the Industries Cart by delivering lightweight data payloads, preventing performance bottlenecks and system failures.

          Required Editions

          Available in: Classic and Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions for CME managed package

          Trim Mode optimizes data delivery for high-performance use cases by focusing on essential information and reducing overhead. It streamlines the rendering of cart summaries through targeted data fetching, facilitates efficient external integrations by extracting key identifiers without unnecessary CPQ metadata, and ensures a responsive experience for mobile users or those on low-bandwidth networks.

          Benefits

          Implementing Trim Mode enhances the stability and speed of enterprise-grade deployments:

          • High reliability: Reduces Apex Governor Limit failures (heap size/CPU) by up to 90%.
          • Payload efficiency: Decreases average response sizes by over 70% by stripping non-essential logs.
          • System scalability: Handles increasing product complexity without degrading the user experience.
          • Network Performance: Minimizes traffic by allowing precise control over returned data nodes. For more information, see the links shared here, Trim Mode.
           
          Loading
          Salesforce Help | Article