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

Properties

action: "removeLineItem"
lineItemId: string

The id of the ShoppingListLineItem to update.

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.

Generated using TypeDoc