@gradientedge/commercetools-utils
    Preparing search index...

    Interface CartSetLineItemTotalPriceAction

    Sets the LineItem totalPrice and price, and changes the priceMode to ExternalTotal LineItemPriceMode.

    interface CartSetLineItemTotalPriceAction {
        action: "setLineItemTotalPrice";
        externalTotalPrice?: ExternalLineItemTotalPrice;
        lineItemId?: string;
        lineItemKey?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setLineItemTotalPrice"
    externalTotalPrice?: ExternalLineItemTotalPrice

    Value to set. If externalTotalPrice is not given and the priceMode is ExternalTotal, the external price is unset and the priceMode is set to Platform.

    lineItemId?: string

    id of the LineItem to update. Either lineItemId or lineItemKey is required.

    lineItemKey?: string

    key of the LineItem to update. Either lineItemId or lineItemKey is required.