Can be used if the Cart has the ExternalAmount TaxMode.

interface CartSetLineItemTaxAmountAction {
    action: "setLineItemTaxAmount";
    externalTaxAmount?: ExternalTaxAmountDraft;
    lineItemId: string;
    shippingKey?: string;
}

Properties

action: "setLineItemTaxAmount"
externalTaxAmount?: ExternalTaxAmountDraft

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