The LineItem price is updated as described in LineItem Price selection.

interface MyCartRemoveLineItemAction {
    action: "removeLineItem";
    externalPrice?: _Money;
    externalTotalPrice?: ExternalLineItemTotalPrice;
    lineItemId: string;
    quantity?: number;
    shippingDetailsToRemove?: ItemShippingDetailsDraft;
}

Properties

action: "removeLineItem"
externalPrice?: _Money

Sets the LineItem price to the given value when decreasing the quantity of a Line Item with the ExternalPrice LineItemPriceMode.

externalTotalPrice?: ExternalLineItemTotalPrice

Sets the LineItem price and totalPrice to the given value when decreasing the quantity of a Line Item with the ExternalTotal LineItemPriceMode.

lineItemId: string

id of the Line Item to remove.

quantity?: number

New value to set.

If `0`, the Line Item is removed from the Cart.
shippingDetailsToRemove?: ItemShippingDetailsDraft

Container for Line Item-specific addresses to remove.

Generated using TypeDoc