Preview Change Order
1 min
POST
https://api.nue.io/cpq/change-order:preview
acceptstringGenerated from available response content types
Ruby-VersionstringAPI version header for backward compatibility
bodyobject<p>Change order request supporting all change types including reconfigure, upgrade, downgrade, quantity updates, renewals, cancellations, and more</p>
200<p>Preview computed (may include unresolved ambiguities).</p>
400Bad Request
curl --request POST \
--url https://api.nue.io/cpq/change-order:preview \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"options": {
"proceedOption": ""
},
"assetChanges": [
{
"changeType": "",
"addOnChanges": [
{
"changeType": ""
}
],
"addOns": [
{
"customPricingAttributes": [
{
"name": "Ruby__PricingAttribute_3__c",
"value": "New Business"
}
]
}
],
"transformations": [
{
"sourceAssetNumber": "",
"customPricingAttributes": [
{
"name": "Ruby__PricingAttribute_3__c",
"value": "New Business"
}
]
}
]
}
],
"products": [
{
"customPricingAttributes": [
{
"name": "Ruby__PricingAttribute_3__c",
"value": "New Business"
}
]
}
],
"taxRates": [
{
"productSku": "",
"taxPercentage": 8.25
}
]
}'