---
schema_version: "1"
id: 70d536c33f1393d92cc62dbe7832a7fb0b17a8d2809ca9667d17d374cfc6b088
title: cpq-header (card)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_cpq_header__card_.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_cpq_header__card_.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 47acd2787de908e773f4a7ef1ffab13f26002f88dbd8bfdd20a4739a49a6fdcc
description: The cpq-header-card displays the content of the cart header. This card has three states.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# cpq-header (card)

The cpq-header-card displays the content of the cart header. This card has three states.

**Title**

cpq-header

**Filter**

None

**Card Session Variables**

None

**Data Source**

Dual

**Remote Class**

```
CpqAppHandler
```

**Remote Method**

```
getCarts
```

**Input Map**

<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="d74804e94">
            <p style="margin-bottom:0;">Input Map Variable</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d74804e100">
            <p style="margin-bottom:0;">Value</p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d74804e94 ">
            <p style="margin-bottom:0;">cartId</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d74804e100 ">
            <p style="margin-bottom:0;">{{params.id}}</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d74804e94 ">
            <p style="margin-bottom:0;">price</p>
          </td>

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

        </tr>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d74804e94 ">
            <p style="margin-bottom:0;">validate</p>
          </td>

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

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

**Result JSON Path**

```
result.records[0].details.records
```

**REST API Information**

```
GET /services/apexrest/vlocity_cmt/v2/cpq/carts/{{params.id}}?validate=false&price=false
```

**States**

- Active Opportunity
- Active Quote
- Active Order

**Template**

cpq-base-header-card (template)

**Actions**

All three states:

- View Record
- Edit Record

Active Order only:

- Generate Document PDF
- Send for eSignature
- New Order

**Flyout**

None

**Conditions**

- Active Opportunity: \['ObjectType'\] = 'Opportunity'
- Active Quote: \['ObjectType'\] = 'Quote'
- Active Order: \['ObjectType'\] ='Order'

**Image**

![The cart header, showing a Draft object icon and two buttons: View Record and Generate Document PDF.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/salesforce_cpqcart_header.jpg)