Footer Section
Explore

Invoke this API for changing the parameters of an asset, associated configuration, and related details.
When you update a bundle attribute using the Change API, it cascades the updates to a maximum of six level of child options in sub-bundles. This works when you have set the Cascade Shared Attribute Updates setting to True in Config System Properties.
The Id of the asset that needs to be changed
authentication token
Content type of the request body.
The name of the storefront being used for the request.
Note: Step Property in request body indicates which step to be run. Possible values CHANGE_ASSET, VALIDATE, RUN_CONSTRAINTS, REPRICE.
curl --request POST \--url https://documentation.conga.com/services/apexrest/Apttus_WebStore/apttus/v1/assets/assetId/change \--header 'Accept: application/json' \--header 'Authorization: Basic 123' \--header 'Content-Type: application/json' \--header 'x-storefront: ' \--data '{"ProductAttributeValues": [{"AssetId": null,"AttributeValueExt3SO": {"attributes": {"type": "Apttus_Config2__ProductAttributeValueExt3__c"},"TestPAVExt3Field__c": "fieldValue","TestPAVExt3Field2__c": "fieldValue2"},"AttributeValueExt2SO": {"attributes": {"type": "Apttus_Config2__ProductAttributeValueExt2__c"},"TestPAVExt2Field__c": "fieldValue","TestPAVExt2Field2__c": "fieldValue2"},"AttributeValueExtSO": {"attributes": {"type": "Apttus_Config2__ProductAttributeValueExt__c"},"TestPAVExtField__c": "fieldValue","TestPAVExtField2__c": "fieldValue2"},"AttributeValueSO": {"attributes": {"type": "Apttus_Config2__ProductAttributeValue__c"},"Apttus_Config2__Age__c": "10","Apttus_Config2__Vendor__c": "Vendor 1"},"NullFields": {"Apttus_Config2__ProductAttributeValue__c": ["Apttus_Config2__Color__c","Field1__c"],"Apttus_Config2__ProductAttributeValueExt__c": ["fieldExt1__c"],"Apttus_Config2__ProductAttributeValueExt2__c": ["fieldExt2__c"],"Apttus_Config2__ProductAttributeValueExt3__c": ["fieldExt3__c"]}}],"Step": "CHANGE_ASSET","SelectedOptions": [{"StartDate": "2020-10-16","SellingTerm": 12,"Quantity": 3,"EndDate": "2020-11-14","CustomFields": ["LineItem_Custom_field1__c","LineItem_Custom_field2__c"],"CustomData": {"attributes": {"type": "Apttus_Config2__LineItem__c"},"LineItem_Custom_field1__c": "value1","LineItem_Custom_field2__c": "value2"},"ComponentProductId": "01t1I000000imxpQAA","ComponentId": "a0z1I000005dSnrQAE","Comments": "description","AttributeValues": [{"attributes": {"type": "Apttus_Config2__ProductAttributeValue__c"},"IsBundle__c": true}]}],"CartId": "a0p1I000009KLLUQA4","CancelledOptions": ["a0p1I000009KLLUQA4"],"AmendedAssets": [{"attributes": {"type": "Apttus_Config2__LineItem__c"},"Apttus_Config2__Quantity__c": 3,"LineItemCustomField__C": "value"}],"NullFields": {"AssetId1": ["Apttus_Config2__BillingPreferenceId__c","Apttus_Config2__ShipToAccountId__c"],"AssetId2": ["Apttus_Config2__ShipToAccountId__c"]}}'
1{2"title": "success",3"status": 200,4"data": {5"pageErrors": {6"warningMessages": [],7"successMessages": [],8"pricingResponse": {9"PendingLineNumbers": [],10"IsTotalPricePending": false,11"IsPricePending": false,12"IsPrePricePending": false,13"IsPostPricePending": false,14"ErrorLineNumbers": [],15"CompletedLineNumbers": []16},17"infoMessages": [],18"errorMessages": [],19"constraintResult": {20"NeedMoreProcessing": false,21"HasPendingWarning": false,22"HasPendingError": false,23"ConstraintRuleActions": [],24"CartId": null25}26},27"nextStep": "VALIDATE",28"hasError": false29}30}