SAP Knowledge Base Article - Public

3726155 - GetModel API request not returning child configuration information

Symptom

In external softwares, like Postman and Bruno, the GET request for GetModel is not returning information from the child configuration even when using the param rowId. 

Environment

SAP CPQ

Reproducing the Issue

In CPQ:

  1. Open a parent/child product
  2. Configure it
  3. Open the browser tool in tab Network and check the GetModel request both in the parent configuration and when editing the child product
  4. You'll see that there are 2 different payloads.

In Postman/Bruno:

  1. Do the same thing, configure the parent/child product
  2. Enter as a param the configurationId
  3. You'll see the payload for the parent product
  4. Now, insert the param rowId with the id in the url in the child product
  5. The payload is the same as the parent

Resolution

The configuration is structured like a tree, where the parent product is the root node and each container row represents a child node. Nested containers create additional hierarchical levels, such as grandchild nodes. When you edit a container row, you're essentially navigating through the configuration tree to reach a specific node. The CPQ system then sets that product as active and displays it in the UI. Because only one product can be active at any given time, our RD API returns information for just the currently active node. This explains why the payload structure appears similar for both parent and child products. If you need to obtain the entire configuration tree in one response, you can use the Configurations V2 "Get Configuration" endpoint, which consolidates the entire configuration into a single response.

Keywords

KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed

Product

SAP CPQ all versions