Repository navigation
Add CRUD endpoints and recipe operations for shopping lists - #737
Merged
Merged
Conversation
Also adds missing group_id field to ShoppingList model, needed to pass the correct payload when updating a list.
domodom30
force-pushed
the
feature/shopping-list-crud
branch
from
June 4, 2026 11:47
a16c896 to
795133a
Compare
Resolve add/add conflicts in tests/test_mealie.py and tests/__snapshots__/test_mealie.ambr by keeping both the shopping-list CRUD tests and the favorites/ratings tests (joostlek#738).
domodom30
force-pushed
the
feature/shopping-list-crud
branch
from
June 22, 2026 10:12
d5a9818 to
09d132f
Compare
domodom30
added a commit
to domodom30/python-mealie
that referenced
this pull request
Jun 22, 2026
Resolve conflicts in tests by keeping both the mealplan CRUD tests and the shopping-list/favorites tests now present in main (joostlek#737, joostlek#738).
domodom30
added a commit
to domodom30/python-mealie
that referenced
this pull request
Jun 22, 2026
Resolve conflicts in tests by keeping both the organizers tests (categories, tags, tools, foods, units) and the shopping-list/favorites tests now present in main (joostlek#737, joostlek#738).
domodom30
added a commit
to domodom30/python-mealie
that referenced
this pull request
Jun 22, 2026
Resolve conflicts in tests by keeping both the organizers tests and the mealplan tests now merged into main (joostlek#736), alongside the shopping-list and favorites tests (joostlek#737, joostlek#738).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Add the missing CRUD endpoints for shopping lists, plus helpers to add/remove recipes.
get_shopping_list(list_id)—GET /api/households/shopping/lists/{id}create_shopping_list(name)—POST /api/households/shopping/listsupdate_shopping_list(list_id, name)—PUT /api/households/shopping/lists/{id}delete_shopping_list(list_id)—DELETE /api/households/shopping/lists/{id}add_recipe_to_shopping_list(list_id, recipe_id, *, scale)—POST /api/households/shopping/lists/{id}/recipe/{recipe_id}remove_recipe_from_shopping_list(list_id, recipe_id, *, scale)—POST /api/households/shopping/lists/{id}/recipe/{recipe_id}/deleteBug fix: Add missing
group_idfield toShoppingListmodel — required to pass the correct payload when updating a list.Tests included for all new endpoints.
Related Issues
Splits out the shopping list CRUD part of #730.