question

Jai avatar image
Jai asked Jai commented

Remove tax from lineItem

Is there any way to delete tax from a LineItem ?

as per documentation I have tried,

lineItem.clearTaxes();

after that if I call

orderConnector.UpdateLineItems()

I am getting client exception as no valid line item was found. And if I call

orderConnector.updateOrder()

getting server error : "Cannot update the fields".

OrdersTaxes
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

Welcome to the
Clover Developer Community