mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 09:11:11 +00:00
Add API call for adding products to shoppinglist
This commit is contained in:
@@ -169,6 +169,7 @@ $app->group('/api', function()
|
||||
{
|
||||
$this->post('/stock/shoppinglist/add-missing-products', '\Grocy\Controllers\StockApiController:AddMissingProductsToShoppingList');
|
||||
$this->post('/stock/shoppinglist/clear', '\Grocy\Controllers\StockApiController:ClearShoppingList');
|
||||
$this->post('/stock/shoppinglist/add-product', '\Grocy\Controllers\StockApiController:AddItemToShoppingList');
|
||||
$this->post('/stock/shoppinglist/remove-product', '\Grocy\Controllers\StockApiController:RemoveItemFromShoppingList');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user