Order Management Order Management for SOAP API Developers API Reference Customer Purchase Order (CPO) Web Service Current: Amending Customer Purchase Orders PDF Download PDF Download page Amending Customer Purchase Orders. Current page All pages Amending Customer Purchase Orders This API modify or amend a Customer Purchase Orders without changing the value of the order line items (Composite API).API DetailsAPISignatureamendCustomerPOwebService static Apttus_Config2.CPQStruct.AmendCustomerPOResponseDOamendCustomerPO(Apttus_Config2.CPQStruct.AmendCustomerPORequestDO)ParametersNameTypeDescriptionrequestApttus_Config2.CPQStruct.AmendCustomerPORequestDOThe request data object.Request Data Object - Apttus_Config2.CPQStruct.AmendCustomerPORequestDOFieldTypeRequired?DescriptionCustomerPOIdIDYesReference to the order. Order Id can be any one of the following:Order in "Accept, Partially Processed" status that requires amendmentOrder in "In Amendment" status for which additional line item changes are requiredCustomerPOItemsList<CustomerPOItem__C>NoCPO Items to be amendedAPI ResponseResponse Data Object - CPQStruct.AmendCustomerPOResponseDOFieldTypeDescriptionAmendCustomerPOSOStandard Data ObjectThe fields of the AmendOrder ObjectAmendedCustomerPOItemsListList of amended order itemsCode SampleThe following sample enables you to amend an order for a valid order with an Order Id. // create the amend request CPQStruct.AmendCustomerPORequestDO request = new CPQStruct.AmendCustomerPORequestDO(); request.customerPOId = customerPO.ID; request.CustomerPOItems = CustomerPOItems; CPQStruct.AmendCustomerPOResponseDO result = CustomerPOWebService.amendCustomerPO(request); system.debug(result.AmendCustomerPOSO); system.debug(result.AmendedCustomerPOItems); CODE ×