---
schema_version: "1"
id: 7beba4a764d98bb29cb3bc7ec9b8b1fd856ef7228543f71ad99cc1a7b2ecada6
title: Get Price Waterfall for Price
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-get-price-waterfall-for-price.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-get-price-waterfall-for-price.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4012728685cfa92c1d50297ac3f12dd640ff45647c0668084df8c49e3b549c55
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Get Price Waterfall for Price

Get the price waterfall for a price. The Get Price Details API retrieves the pricing details for a price field based on the cart context—opportunity, quote, order—specified by the cartId parameter and the line item ID.

Only the <!-- update link when Dev Doc topic moves to DSC-->[PricingElementServiceImplementation](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_pricingelementserviceimplementation_662248.htm) supports the Get Price Details API.

```nolang
GET /v2/cpq/carts/{cart_ID}/items/{ID}/pricing
```

This API supports the guest user enhancements that Salesforce introduced with the Winter ‘21 release. To encrypt and decrypt data for guest users, use the `UserSecurity` class with this API. See Guest User Technical Details.

For additional information, ​see UserSecurity Class and CPQ and Digital Commerce Changes for Guest Users.


## Remote Method

```nolang
getPriceDetail
```

## Package

Communication (vlocity_cmt)

## API Parameters and Response Format

For API parameter names and descriptions, see [Cart-Based API Swagger Reference](https://developer.salesforce.com/docs/industries/cme/references/cpq?meta=Summary).

## Resource Information

| Response Format | JSON                                                                       |
| --------------- | -------------------------------------------------------------------------- |
| Resource URL    | `/services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/items/{ID}/pricing` |


## Example Request

```nolang
GET
/services/apexrest/vlocity_cmt/v2/cpq/carts/80146000000goGv/items/80246000000gZfO/pricing?fields=vlocity_cmt__OneTimeCharge__c
```

## Example Response

```nolang
{
   "totalSize": 1,
   "messages": [],
   "records": [
      {
         "messages": [],
         "displaySequence": -1,
         "id": "80246000000gZfOAAU",
         "vlocity_cmt__OneTimeCharge__c": {
            "pricedetail": [
               {
                  "actions": {},
                  "DetailType": "PRICE",
                  "Description": "$50 One Time Standard Price",
                  "StartValue": 50,
                  "EndValue": 50,
                  "AdjustmentType": "None",
                  "AdjustmentMethod": null,
                  "AdjustmentValue": 0
               },
               {
                  "actions": {},
                  "DetailType": "ADJUSTMENT",
                  "Description": "5% Discount on OT Std Price due to Bundle A...",
                  "StartValue": 50,
                  "EndValue": 47.5,
                  "AdjustmentType": "Discount",
                  "AdjustmentMethod": "Percent",
                  "AdjustmentValue": -5
                  },
                  {
                     "actions": {},
                     "DetailType": "ADJUSTMENT",
                     "Description": "10% Discount on OT Std Price due to Promotion 'Add Bundle A'",
                     "StartValue": 47.5,
                     "EndValue": 42.5,
                     "AdjustmentType": "Discount",
                     "AdjustmentMethod": "Percent",
                     "AdjustmentValue": -10
                  },
                  {
                     "actions": {},
                     "DetailType": "ADJUSTMENT",
                     "Description": "Additional 10% - Add Child 2 Promo",
                     "StartValue": 42.5,
                     "EndValue": 37.5,
                     "AdjustmentType": "Discount",
                     "AdjustmentMethod": "Percent",
                     "AdjustmentValue": -10
                  }
               ]
            }
         }
      ]
}
```

