Configurator Add Nodes (POST)

Add a node to the context through the runtime system without using the Salesforce user interface.

Resource 

1/connect/cpq/configurator/actions/add-nodes

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/cpq/configurator/actions/add-nodes

Available Version 

60.0

HTTP Methods 

POST

Request Body for POST 

JSON Example

1{
2  "configuratorOptions": {
3    "executePricing": true,
4    "returnProductCatalogData": true,
5    "qualifyAllProductsInTransaction": true,
6    "validateProductCatalog": true,
7    "validateAmendRenewCancel": true,
8    "executeConfigurationRules": true,
9    "addDefaultConfiguration": true
10  },
11  "qualificationContext": {
12    "accountId": "001xx0000000001AAA",
13    "contactId": "003xx00000000D7AAI"
14  },
15  "contextId": "008d27d7-e004-4906-a949-ee7d7c323c77",
16  "addedNodes": [
17    {
18      "path": [
19        "0Q0xx0000004EvcCAE",
20        "ref_d3a3f8d2_e031_4517_ae28_69ce16cb6589"
21      ],
22      "addedObject": {
23        "id": "ref_d3a3f8d2_e031_4517_ae28_69ce16cb6589",
24        "SalesTransactionItemSource": "ref_d3a3f8d2_e031_4517_ae28_69ce16cb6589",
25        "SalesTransactionItemParent": "0Q0xx0000004EvcCAE",
26        "PricebookEntry": "01uxx00000090VuAAI",
27        "ProductSellingModel": "0jPxx00000001KHEAY",
28        "UnitPrice": 15.26,
29        "Quantity": 1,
30        "Product": "01txx0000006lfHAAQ",
31        "businessObjectType": "QuoteLineItem"
32      }
33    },
34    {
35      "path": [
36        "0Q0xx0000004EvcCAE",
37        "ref_d3a3f8d2_e031_4517_ae28_69ce16cb6589",
38        "ref_d85b036d_d305_4bb6_aba8_a1dff645a664"
39      ],
40      "addedObject": {
41        "id": "ref_d85b036d_d305_4bb6_aba8_a1dff645a664",
42        "MainItem": "0QLxx0000004QdRGAU",
43        "AssociatedItem": "ref_d3a3f8d2_e031_4517_ae28_69ce16cb6589",
44        "ProductRelatedComponent": "0dSxx00000001p6EAA",
45        "ProductRelationshipType": null,
46        "AssociatedItemPricing": "NotIncludedInBundlePrice",
47        "AssociatedQuantScaleMethod": "Proportional",
48        "businessObjectType": "QuoteLineRelationship"
49      }
50    }
51  ]
52}

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
added​NodesConfigurator Added Node Input[]List of the nodes to be added.Required60.0
configurator​OptionsConfigurator Options InputList of the configuration options to execute.Optional60.0
context​IdStringID of the context object that’s being considered.Required60.0
qualification​ContextUser Context InputContext details that are used for the qualification rules.Optional60.0

Response Body for POST 

Configurator Add Nodes