Bulk Check/Uncheck Items
Use toggleShoppingListItems
to simultaneously make a bulk change to the isDone status of many shopping list items.
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? |
|
| List of list item ids. | Yes |
|
| True if the id is from the aggregation view | Yes |
Example
The isAggregate value must be true if the itemID comes from the shopping list aggregate.
Last updated