Interface ShoppingListChangeLineItemQuantityAction

interface ShoppingListChangeLineItemQuantityAction {
    action: "changeLineItemQuantity";
    lineItemId?: string;
    lineItemKey?: string;
    quantity: number;
}

Properties

action: "changeLineItemQuantity"
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

New value to set. If 0, the ShoppingListLineItem is removed from the ShoppingList.