---
schema_version: "1"
id: ea712bf91f6f2c64c8f501f25143e29e6beb5bfdab968dbea04f7083e9bb27cd
title: priceCart Method
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-t-pricecart-method.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-t-pricecart-method.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: dad3de1e3aadd610b1aca6748a9c914b2ef85d9a3919f8fef44c145118f9cc28
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# priceCart Method

Runs Industries CPQ pricing API on sub quotes.

<!-- Section title is the name of the method followed by "Method". If appropriate, precede the method name with the class name and a colon.-->

## Class

<!-- broken link-->

<!-- Link(s) to the class(es) to which this method belongs. If more than one class implements the same interface, use an itemized list. Don't use a link if the class itself isn't documented for users, but do list the class name.-->


## Input Parameters

<!-- If this method has separate input and output parameters, split this section into two sections titled "Input Parameters" and "Output Parameters". Some methods of classes that implement VlocityOpenInterface2 might require an "Options Parameters" section as well.-->

| Parameter | Required | Description |
| --------- | -------- | ----------- |
| Id        | Required | Cart ID.    |

## Output Parameters

| Parameter     | Description                                                 |
| ------------- | ----------------------------------------------------------- |
| pricingResult | Returns Map\<Id, Boolean> object (cartId and boolean value) |
| message       | In case of any error.                                       |

## Example Input Data

<!-- This is usually JSON, but it could be XML or a single value. For methods of classes implementing VlocityOpenInterface2 that have options parameters, include those here.-->

```
{"Id":"0063t00000tPCmM"}
```

## Example Output Data

<!-- This is usually JSON, but it could be XML or a single value. Salesforce uses Return Type, but this takes care of that.-->

```
{"pricingResult": {"0063t00000tPCmM": true}}
```
