API Question : delete all line items of an opportunity with one command

Hi there,

After moving to the cloud version of Sell, our (external) quotation tool provider had to redevelop the interface used between the quotation tool and Sugar Sell. When an update of the opportunity line items by the data of the quotation is needed, each line item is 'polled' and subsequently removed. After deleting all line items (can be 100 - 200 items) , the new info is sent over and the updated line items are created.

This actual approach is quite intense on interfacing, and I wonder, does the API not offer a command for removing all line items in an opportunitye as 1 single commend ?

Does anybody have any experience in this area ?

Thanks,

Hugo

Parents
  • Hi Hugo,

    In addition to Harald's reply, first you can use this endpoint to get all the revenue line items of the Opportunity and after getting you can use this endpoint for mass deleting the line items related to the specific opportunity in single shot.

    Thanks and Regards,

    Ramya Katram

    www.bhea.com

Reply
  • Hi Hugo,

    In addition to Harald's reply, first you can use this endpoint to get all the revenue line items of the Opportunity and after getting you can use this endpoint for mass deleting the line items related to the specific opportunity in single shot.

    Thanks and Regards,

    Ramya Katram

    www.bhea.com

Children
  • Hi Ramya and Harald,

    Sorry for the late reply, but thanks for your feedback.

    I'm almost finished working in 2024 ,so i'll give it a try in 2025.

    Wish you all a good new year !

    Bye now

    Hugo