Interface ShoppingListChangeTextLineItemQuantityAction

interface ShoppingListChangeTextLineItemQuantityAction {
    action: "changeTextLineItemQuantity";
    quantity: number;
    textLineItemId?: string;
    textLineItemKey?: string;
}

Properties

action: "changeTextLineItemQuantity"
quantity: number

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

textLineItemId?: string

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

textLineItemKey?: string

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