Loading
Help Agent Performance DegradationRead More
Communications Cloud
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
          Customize the getCarts API Call Settings

          Customize the getCarts API Call Settings

          You can preconfigure the price parameter and a validation flag in the getCarts API call settings within the attribute update flow, and thus bypass pricing and validations when necessary. This configuration gives you precise control to tailor the API's behavior to your workflow requirements.

          Required Editions

          Managed Package Icon This feature is part of the Communications Cloud managed package.

          "/>

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions

          Standard user permissions that grant the ability to access the Enterprise Sales App and manage quotes are required.

          1. In the App Launcher, find and select Vlocity Cards.
          2. In the Layouts and Cards section, click b2bSampleAppCard.
          3. Click Clone to create a copy of the card.
          4. Locate and expand the b2bOfferConfig session variable to access its configuration.
          5. Find the APIConfig node and add this getCarts API configuration to the node.
            "getCarts": {
               "type": "ApexRemote",
               "remoteClass": "CpqAppHandler",
               "params": {
                "methodName": "getCarts",
                "cartId": "0Q0Hs0000031SzgKAE",
                "price": true/false,
                "validate": true/false,
            }
            }
            
          6. Save your changes, and then click Activate to make this version of the card active.
           
          Loading
          Salesforce Help | Article