---
schema_version: "1"
id: 22fdcad2d0da4925d3f092054b822244009887f6857e59b41d220412193e17fe
title: Customize the getCarts API Call Settings
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_customize_the_getcarts_api_call_settings.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_customize_the_getcarts_api_call_settings.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d44a08057668a747da210722f681fb6aebdc0b47437ea6a4e71f181654758f49
description: 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.
products:
  - Communications
release: "264"
---
# 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](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-communications-264-0-0-production-enus/444efb86-ea1e-477e-afbc-56eaac192eaf/communications/images/media_package_icon.png) _This feature is part of the Communications Cloud managed package._

"/>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

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.