---
schema_version: "1"
id: 45aee7a4909a55e164549b55c2b06d527d2ef5b3843f6f444d1630a3e9a1573c
title: priceCart Method
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_t_pricecart_method_215706.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_t_pricecart_method_215706.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d9229f1b1503e6d5701cc9f7a4267c7be7d07d1373bf7b7a23c8ae5a1363824e
description: Runs Industries CPQ pricing API on sub quotes.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# priceCart Method

Runs Industries CPQ pricing API on sub quotes.

## Class

## Input Parameters

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d53595e44">
              <p style="margin-bottom:0;">Parameter</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d53595e50">
              <p style="margin-bottom:0;">Required</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d53595e56">
              <p style="margin-bottom:0;">Description</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d53595e44 ">
              <p style="margin-bottom:0;">Id</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="vertical-align:top;" headers="d53595e50 ">
              <p style="margin-bottom:0;">Required</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d53595e56 ">
              <p style="margin-bottom:0;">Cart ID.</p>
            </td>

          </tr>
        </tbody>
      </table>

## Output Parameters

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d53595e106">
              <p style="margin-bottom:0;">Parameter</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d53595e112">
              <p style="margin-bottom:0;">Description</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d53595e106 ">
              <p style="margin-bottom:0;">pricingResult</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d53595e112 ">
              <p style="margin-bottom:0;">Returns Map&lt;Id, Boolean&gt; object (cartId and boolean
                value)</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d53595e106 ">
              <p style="margin-bottom:0;">message</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d53595e112 ">
              <p style="margin-bottom:0;">In case of any error.</p>
            </td>

          </tr>
        </tbody>
      </table>

## Example Input Data

```
{"Id":"0063t00000tPCmM"}
```

## Example Output Data

```
{"pricingResult": {"0063t00000tPCmM": true}}
```