Product Set Quantity (POST)

Set the quantity of a product through the runtime system.
Resource
/connect/cpq/configurator/actions/set-product-quantity
Resource example
https://yourInstance.salesforce.com/services/data/v64.0/connect/cpq/configurator/actions/set-product-quantity
Available version
60.0
HTTP methods
POST
Request body for POST
JSON example
{
    "configuratorOptions": {
        "executePricing": true,
        "returnProductCatalogData": true,
        "qualifyAllProductsInTransaction": true,
        "validateProductCatalog": true,
        "validateAmendRenewCancel": true,
        "executeConfigurationRules": true,
        "addDefaultConfiguration": true
    },
    "qualificationContext": {
        "accountId": "001xx0000000001AAA",
        "contactId": "003xx00000000D7AAI"
    },
    "contextId": "008d27d7-e004-4906-a949-ee7d7c323c77",
    "quantity": 20,
    "transactionLinePath": "Quote.QuoteLineItem.Quantity"
}
Properties
Name Type Description Required or Optional Available Version
configurator​Options Configurator Options Input List of the configuration options to execute. Optional 60.0
context​Id String ID of the context object that’s being considered. Required 60.0
qualification​Context User Context Input Context details that are used for the qualification rules. Optional 60.0
quantity Integer Value of the product quantity. Required 60.0
transaction​Line​Path String[] Path to the line item where the update to the quantity is applied. For example, Quote.QuoteLineItem.Quantity. Required 60.0
Response body for POST
Product Quantity Set Configurator