@@ -23,35 +23,43 @@ You can add or remove items from your shopping list by using the following servi
23
23
24
24
### Service ` shopping_list.add_item `
25
25
26
- Adds an item to the shopping list.
26
+ Add an item to the shopping list.
27
27
28
28
| Service data attribute | Optional | Description |
29
29
| ------------------------| ----------| --------------------------------------------------------|
30
30
| ` name ` | no | Name of the item to add. Example: "Milk" |
31
31
32
+ ### Service ` shopping_list.remove_item `
33
+
34
+ Remove the first item with matching name from the shopping list.
35
+
36
+ | Service data attribute | Optional | Description |
37
+ | ------------------------| ----------| --------------------------------------------------------|
38
+ | ` name ` | no | Name of the item to remove. Example: "Milk" |
39
+
32
40
### Service ` shopping_list.complete_item `
33
41
34
- Marks an item as completed in the shopping list. It does not remove the item.
42
+ Mark the first item with matching name as completed in the shopping list. It does not remove the item.
35
43
36
44
| Service data attribute | Optional | Description |
37
45
| ------------------------| ----------| --------------------------------------------------------|
38
46
| ` name ` | no | Name of the item to mark as completed. Example: "Milk" |
39
47
40
48
### Service ` shopping_list.incomplete_item `
41
49
42
- Marks an item as incomplete in the shopping list.
50
+ Mark the first item with matching name as incomplete in the shopping list.
43
51
44
52
| Service data attribute | Optional | Description |
45
53
| ------------------------| ----------| --------------------------------------------------------|
46
54
| ` name ` | no | Name of the item to mark as incomplete. Example: "Milk" |
47
55
48
56
### Service ` shopping_list.complete_all `
49
57
50
- Marks all items as completed in the shopping list. It does not remove the items .
58
+ Mark all items as completed in the shopping list (without removing them from the list) .
51
59
52
60
### Service ` shopping_list.incomplete_all `
53
61
54
- Marks all items as incomplete in the shopping list.
62
+ Mark all items as incomplete in the shopping list.
55
63
56
64
### Service ` shopping_list.clear_completed_items `
57
65
0 commit comments