setLineItemTaxLines - Cart Module Reference
This documentation provides a reference to the setLineItemTaxLines
method. This belongs to the Cart Module.
This method sets the line item tax lines in a cart. The existing line item tax lines, except those included in the specified list, are removed and replaced with the specified tax lines.
Example
Parameters
cartId
stringRequiredThe cart's ID.
The line item tax lines to add.
If the
id
field is specified, the tax line is kept and its attributes can be updated.Returns
The added line item tax lines.
Was this section helpful?