Check/Uncheck an Item
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.
Available Arguments
Arguments | Type | Description |
|
| required the list item id, could be from aggregation or from recipe view. To get the item ID, execute the |
|
| required if the id is from the aggregation view |
Example
The isAggregate value must be true if the itemID comes from the shopping list aggregate.
Last updated