---
schema_version: "1"
id: 0b9b01eff93f5e290dfec02306d41a84a05266e885ff0914d420d23fdb744e02
title: Advanced Order Product Recommendation Output
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/advanced-orders-for-telesales/references/responses/advanced-order-product-recommendation-output.md
canonical_url: https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/advanced-orders-for-telesales-rest/advanced-order-product-recommendation-output.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 79b6a1780415c8fb8b7035547ef34e501f017e6b1222428bd03b1e8281a6d5d5
products:
  - Advanced Orders for Telesales Developer Guide
  - Industries Developer Documentation
---
# Advanced Order Product Recommendation Output

The historical products with Configure, Price, Quote (CPQ) product details and aggregated quantities.

## JSON example

```json
{
  "result": [
    {
      "productId": "01tRM000000P9UuYAK",
      "recommendedQuantities": [
        {
          "unitOfMeasureId": "0RLRM0000001AbcAAE",
          "quantity": 12,
          "orderItemSpecId": "0OSRM00000004Cx2AAE"
        }
      ],
      "productDetails": {
        "name": "Premium Widget",
        "listPrice": 49.99
      }
    }
  ],
  "ordersAnalyzed": ["801RM0000001AbcYAM"],
  "lookbackPeriodInDays": 90,
  "isSuccess": true,
  "errors": []
}
```

## Properties

| Property Name          | Type                                                                                                       | Description                                                                                                                      | Filter Group and Version | Available Version |
| ---------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ----------------- |
| `errors`               | [Assortment Error](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/responses/assortment-error.md)[]                                                     | The list of errors returned if the operation failed. This list is empty when the operation is successful.                        | Small, 68.0              | 68.0              |
| `isSuccess`            | Boolean                                                                                                    | Indicates whether the operation was successful (true) or not (false).                                                            | Small, 68.0              | 68.0              |
| `lookbackPeriodInDays` | Integer                                                                                                    | The number of days included in the lookback period calculation.                                                                  | Small, 68.0              | 68.0              |
| `ordersAnalyzed`       | String[]                                                                                                   | The list of order IDs that match the specified filters, including account, order specification, status, and lookback period.     | Small, 68.0              | 68.0              |
| `result`               | [Advanced Order Product Recommendation Item](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/responses/advanced-order-product-recommendation-item.md)[] | The list of historical products with product details and aggregated quantities per unit of measure and order item specification. | Small, 68.0              | 68.0              |
