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

interface CartRemoveLineItemAction {
    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 absent or 0, the Line Item is removed from the Cart.

shippingDetailsToRemove?: ItemShippingDetailsDraft

Container for Line Item-specific addresses to remove.

Generated using TypeDoc