Interface MyShoppingListChangeLineItemQuantityAction

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

Properties

action: "changeLineItemQuantity"
lineItemId?: string

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

lineItemKey?: string

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.