Order Management Order Management for SOAP API Developers API Reference Customer Purchase Order (CPO) Web Service Current: Reverting Amended Customer Purchase Orders PDF Download PDF Download page Reverting Amended Customer Purchase Orders. Current page All pages Reverting Amended Customer Purchase Orders This API undo or revert an amended Customer Purchase Order (Composite API). For example, You can roll back the changed order date to the previous date using this API.API DetailsAPISignatureundoAmendCustomerPOwebService static Apttus_Config2.CPQStruct.UndoAmendCustomerPOResponseDOundoAmendCustomerPO(Apttus_Config2.CPQStruct.UndoAmendCustomerPORequestDO)ParametersNameTypeDescriptionrequestApttus_Config2.CPQStruct.UndoAmendCustomerPORequestDOThe request data object.Request Data Object - Apttus_Config2.CPQStruct.UndoAmendCustomerPORequestDOFieldTypeRequired?DescriptionCustomerPOIdIDYesUnique identifier of the amended order.API ResponseResponse Data Object - CPQStruct.UndoAmendCustomerPOResponseDOFieldTypeDescriptionPreviousCustomerPurchaseOrderSOStandard Data Object The fields of the Previous Order Object.Code SampleThe following sample allows you to roll back an amendment to an order. //undoamend customerPurchaseOrder CPQStruct.UndoAmendCustomerPORequestDO request = new CPQStruct.UndoAmendCustomerPORequestDO(); request.CustomerPOId = CustomerPOId; CPQStruct.UndoAmendCustomerPOResponseDO result = CustomerPOWebService.undoAmendCustomerPO(request); system.debug(result.PreviousCustomerPurchaseOrderSO) CODE ×