Sets the LineItem price and changes the priceMode to ExternalPrice LineItemPriceMode.

interface CartSetLineItemPriceAction {
    action: "setLineItemPrice";
    externalPrice?: _Money;
    lineItemId: string;
}

Properties

action: "setLineItemPrice"
externalPrice?: _Money

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

lineItemId: string

id of the LineItem to update.

Generated using TypeDoc