Integrations and APIs for Service

Get Involved. Join the Conversation.


    Manjit SIngh Arora
    Updating Quote Line Item (Opportunity Object) via...
    Topic posted July 25, 2019 by Manjit SIngh AroraGreen Ribbon: 100+ Points, tagged SOAP 
    21 Views, 3 Comments
    Updating Quote Line Item (Opportunity Object) via SOAP API
    Not able to update quote line item

    HI All,

    I am trying to update quote line items of opportunity object through SOAP API, i am not getting any error in response but the changes are not reflected in Agent Desktop.

    Snippet of SOAP Request.

    <soapenv:Envelope xmlns:soapenv="">


            <ns7:ClientInfoHeader xmlns:ns7="" soapenv:mustUnderstand="0">

                <ns7:AppID>Basic Update</ns7:AppID>


            <wsse:Security xmlns:wsse="" mustUnderstand="1">



                    <wsse:Password Type="">Admin1234</wsse:Password>





            <ns7:Update xmlns:ns7="">

                <ns7:RNObjects xmlns:ns4="" xmlns:xsi="" xsi:type="ns4:Opportunity">

                    <ID xmlns="" id="11" />



                                                                            <ns4:Name action="update">Quote_XYZ</ns4:Name>















    • Lakshay Bhalla

      Hi Manjit,

      There may be any chances that it might reflect after sometime. It happened to my colleague where he created/updated the opportunity and it took time to reflect in Console.

      Try doing the same with REST API? It is so much better with REST API and see if it returns any error or shows changes in console after successful update.



      • Manjit SIngh Arora

        Hi Lakshay,

        Thanks for answering, As you said , I waited for some time but it did not reflect the changes.

        with REST Api it is working fine , I want to implement with SOAP API as well.

        • Robert Surujbhan

          Hi Manjit, there is a minor correction required in your SOAP request. Attached is the correct structure.  Mainly, you need to move the action="update" attribute to the <QuoteList> node, and add the <ID> of the specific quote record in the <QuoteList> (so the API knows which Quote you are updating!). If you need to update multiple Quotes on the same Opportunity, simply add more <QuoteList> nodes under <Quotes>, each containing their own <ID> and <Name> accordingly (and any other fields you wish to update).  Hope this helps?