# cartRollup Method

Responsible for cart rollups.

## Class

## Input Parameters

| Parameter   | Required | Description       |
| ----------- | -------- | ----------------- |
| cartId      | Required | Quote or Order ID |
| pricingPlan | Optional | Pricing plan code |

## Output Parameters

| Parameter     | Description                                                     |
| ------------- | --------------------------------------------------------------- |
| statusMessage | Status message                                                  |
| pricingOutput | Map of error, error code, or errorResult (in case of any error) |
| errorCode     | Error code                                                      |
| error         | Error                                                           |

## Example Input Data

```
{"cartId":"801Hr000001t1s1IAA"}
```

## Example Output Data

```
{"statusMessage":"Completed Successfully.","Failed":false,"pricingOutput":{"errorCode":"INVOKE-200","error":"OK"},"errorCode":"INVOKE-200","error":"OK"}
```
