Can be used if the Cart has the External TaxMode.

interface CartSetLineItemTaxRateAction {
    action: "setLineItemTaxRate";
    externalTaxRate?: ExternalTaxRateDraft;
    lineItemId: string;
    shippingKey?: string;
}

Properties

action: "setLineItemTaxRate"
externalTaxRate?: ExternalTaxRateDraft

Value to set. If empty, any existing value is removed.

lineItemId: string

id of the LineItem to update.

shippingKey?: string

key of the ShippingMethod used for this Line Item. This is required for Carts with Multiple ShippingMode.

Generated using TypeDoc