Get Multiple Product Details Action
Get product details for a list of products.
This action is available in API version 64.0 and later.
You can invoke this action via Apex and Flows only.
The Get Multiple Product Details action is available in Enterprise, Unlimited, and Developer Editions where Product Discovery is enabled.
| Input | Type | Description |
|---|---|---|
additionalContextData | Apex-defined | Collection of Apex runtime_industries_cpq.AdditionalContextData records that contain additional context data for nodes of the custom context definition, if applicable. You can add details for up to 10 nodes. |
additionalFields | Apex-defined | An Apex AdditionalFields record that contains the additional fields that are passed for the Product2 object. |
catalogId | string | ID of the catalog record. |
contextDefinitionName | string | Name of the custom context definition that’s used to create context data for categories. If null, the default context definition is used. |
contextMappingName | string | Name of the context mapping. By default, the default context mapping associated with the context definition is used. |
correlationId | string | Unique identifier attached to requests and messages, allowing reference to a specific transaction or event chain. |
currencyCode | string | Currency code that’s used to calculate and show prices. |
enablePricing | boolean | Indicates whether pricing procedure must run ( true ) or not ( false ). The default value is true. To use this parameter, the Pricing Procedure setting must be enabled. |
enableQualificationProcedure | boolean | Indicates whether the qualification procedure is applied to categories ( true ) or not ( false ). |
priceBookId | string | ID of the pricebook that the pricing information is retrieved from. |
pricingProcedureName | string | Name of the pricing procedure to calculate product prices. If you don’t enter a value, the pricing procedure selected on the Product Discovery Settings page is used. |
productDataInputs | Apex-defined | Required. Collection of Apex BulkProductDetailsInputBody records that contain details about the products that are to be retrieved. |
qualificationProcedureName | string | Name of the custom qualification procedure that’s executed to determine the category list. If null, the default qualification procedure is executed. |
userContextInputRepresentation | Apex-defined | An Apex UserContextInputRepresentation record that contains user details, such as account ID, geographical location, language preferences, and more. |
| Output | Type | Description |
|---|---|---|
apiStatusOutputRepresentation | Apex-defined | An Apex runtime_industries_cpq.ApiStatusRepresentation record that contains the status of the request, including the status code and message. |
contextId | string | ID of the context that’s created using the specified context definition. |
correlationId | string | Unique identifier attached to requests and messages, allowing reference to a specific transaction or event chain. |
productDetailsOutputRepresentation | Apex-defined | Collection of Apex BulkProductDetailsRepresentation records that contain details of available products. |
userContext | Apex-defined | An Apex ConnectApi.UserContextRepresentation record containing user information. |
Here’s a sample input to call this invocable action from Apex code.
Here’s a sample response when you call this action.