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

    Interface MyShoppingListRemoveLineItemAction

    interface MyShoppingListRemoveLineItemAction {
        action: "removeLineItem";
        lineItemId?: string;
        lineItemKey?: string;
        quantity?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "removeLineItem"
    lineItemId?: string

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

    lineItemKey?: string

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

    quantity?: number

    Amount to remove from the quantity of the ShoppingListLineItem. If not set, the ShoppingListLineItem is removed from the ShoppingList. If this value matches or exceeds the current quantity of the ShoppingListLineItem, the ShoppingListLineItem is removed from the ShoppingList.