Anrolosia/Shopping-List-with-Grocy

update_note servcie [question]

Closed this issue · 2 comments

I may be a little confused on what the shopping_list_with_grocy.update_note service actually does. I would assume from what is shown and its name it allows you to update the notes on a shopping list however it also still requires a product to be provided? From the dashboard example it seems like you are using the service to update the notes on a specific product AND list but when I call the service to test it out neither the notes on the product or shopping list change.

Hello @ChaiFox !

The update_note service allows you to set a specific note for a product in your shopping list. You can use it to specify anything you want to be shown in your shopping list. This is why you need a specific product ID. If you have multiple lists, you can also provide a list ID to specify on which product in which list your comment should be applied.

On my personal usage, I use that to identify if a product was out of stock while doing my grocery shopping. It allows me to filter out those products in another specific list, and buy them later, or in another place.

I hope it answers your question.

Thank you for clarifying. I had thought it would affect the Notes section in the shopping list itself, I see now why a product is required.