---
schema_version: "1"
id: 3e5a5f0ec458984fb6f5e73bc5cb65e0443277f0d4fa8edb0d51e67ee993dd29
title: runCartValidation Method
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_t_runcartvalidation_method_215763.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_t_runcartvalidation_method_215763.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8f45f8419dfebf915e314c0516187e83bed0dba3d1362c70550f3ee8e35e31f0
description: Runs the Industries CPQ Validate API on a sub quote.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# runCartValidation Method

Runs the Industries CPQ Validate API on a sub quote.

## 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="d82218e44">
              <p style="margin-bottom:0;">Parameter</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d82218e50">
              <p style="margin-bottom:0;">Required</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d82218e56">
              <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="d82218e44 ">
              <p style="margin-bottom:0;">Id</p>
            </td>

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

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d82218e56 ">
              <p style="margin-bottom:0;">Sub quote or order 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="d82218e106">
              <p style="margin-bottom:0;">Parameter</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d82218e112">
              <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="d82218e106 ">
              <p style="margin-bottom:0;">validationResult</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d82218e112 ">
              <p style="margin-bottom:0;">A map of id and boolean. Map&lt;ID, Boolean&gt;</p>
            </td>

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

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

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

## Example Input Data

```
{"Id":"0Q06g000000IRwGCAW","name":"Proposal -10","parentId":"0066g000022k7AhAAI"}
```

## Example Output Data

```
{"masterQuoteId":"0Q06g000000IRwLCAW","error":"OK"}
```