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

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

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.

Generated using TypeDoc