Check/Uncheck an Item
Last updated
Last updated
Use toggleShoppingListItem
to change the isDone status of a shopping list item.
Please note that this mutation will automatically toggle the isDone value. You don't need to pass a true or false value. In other words, if the value is currently false, then calling this mutation will make it true and vice versa.
The isAggregate value must be true if the itemID comes from the shopping list aggregate.
Arguments
Type
Description
itemId
UUID
required the list item id, could be from aggregation or from recipe view. To get the item ID, execute the shoppingListAggregate
mutation.
isAggregate
Bool
required if the id is from the aggregation view