Loading...
Was this page helpful?
This documentation provides a reference to the setShippingMethodTaxLines
method. This belongs to the Cart Module.
This method sets the shipping item tax lines in a cart. The shipping line item tax lines, except those included in the specified list, are removed and replaced with the specified tax lines.
cartId
stringtaxLines
(CreateShippingMethodTaxLineDTO | UpdateShippingMethodTaxLineDTO)[]id
field is specified, the tax line is kept and its attributes can be updated.Promise
Promise<ShippingMethodTaxLineDTO[]>