Create Change Order
1 min
POST
https://api.nue.io/cpq/change-order
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>
200Change order created successfully
400Bad Request
409<p>Resolution required — a bundle Upgrade/Downgrade/Swap still has an unresolved one-to-many source→target tie. Resolve by adding transformations pins (see the </p><div></div> endpoint) and retry.<p></p>
curl --request POST \
--url https://api.nue.io/cpq/change-order \
--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
}
]
}'