---
schema_version: "1"
id: ffee6383167c3c57c6261cc8ae16c9cdbdb9d3b35a210bed801aef258e8a2728
title: Get Offers for Asset Invocable Action
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_invocable_action_get_offers_for_asset.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_invocable_action_get_offers_for_asset.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ada07d3ac3f09cd8baa333bdd2dbbd6e1ef89c15e4f0d834a6f2d2d9306f43d6
description: Use this action to get a list of offers for an asset in a cart. Offers are modeled as products in Salesforce. For example, a sales rep can use this action to get a list of offers for customer who wants to know all the offers available for replacing one offer at a time on a broadband plan.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Get Offers for Asset Invocable Action

Use this action to get a list of offers for an asset in a cart. Offers are modeled as products in Salesforce. For example, a sales rep can use this action to get a list of offers for customer who wants to know all the offers available for replacing one offer at a time on a broadband plan.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

## Industries CPQ API Used to Invoke Get Offers for Asset Invocable Action

- getCartsTargetOffers
- assetToOrder
- assetToQuote

## Input Values

| Parameter | description | data type |
| --- | --- | --- |
| cartId | Optional. The ID of the quote or order record that you want to retrieve offers for. | String |
| objectType | Optional. The type of order record that you want to retrieve offers for. | String |
| accountId | Optional. The ID of the account record that you want to associate with the quote or order. | String |
| assetIds | Optional. The asset ID used for asset-to-order or asset-to-quote operation, separated by commas. | String |
| OpportunityId | Optional. The ID of the opportunity that you want to associate with the quote. | String |
| requestDateTime | Optional. The date and time when you place the request to retrieve offers for the order in GMT format. | String |
| fields | Optional. The list of fields that you want to retrieve, separated by commas. | Boolean |
| noFilteredResponse | Optional. A Boolean value that indicates whether to provide the response without filtering. The default value is **false**. | String |

## Output Values

| Parameter | description | data type |
| --- | --- | --- |
| cartId | The ID of the quote or order record for which offers were retrieved. | String |
| offers | A JSON string that includes the details of the offers retrieved for the cart. | List of String |
| error | An error that's encountered during the execution of the action. | String |

## Example

JSON Request

```json
{ 
  "accountId": "001Dn00000BeDH0IAN",
  "assetIds": "02iDn000008r1AVIAY",
  "objectType": "Order"
}
```

JSON Response Body

```json
{
  "offers": [
    {
      "hasChildren": false,
      "ProductCode": {
        "value": "TEST_OBJECT"
      },
      "IsActive": {
        "value": true
      },
      "Id": {
        "value": "01uDn000005iJCZIA2",
        "label": "Price Book Entry ID"
      },
      "defaultQuantity": 1,
      "UnitPrice": {
        "value": "TEST",
        "label": "List Price"
      },
      "Product2": {
        "Name": "TESTObject",
        "Id": "01tDn000006LEYSIA4"
      }
    }
  ],
  "cartId": "801Dn000000vRGGIA2"
}
```