Recipes to grocery store
This API provides functionality to build a recipe site and meal planning system which can be connected to an online grocery store. For demonstration of a site implementing the API please visit https://madplan.nu The API documentation is in progress, meaning more methods is being added during the next months.
Recipes to grocery store endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
GetRecipe / |
Gets the details for a specific recipe. |
| GET |
GetCategories / |
Gets a list of all categories. |
| GET |
SetFavoriteRecipe / |
Sets a user favorite recipe. |
| GET |
GetMealBoxCategories / |
Gets all categories for meal boxes. |
| GET |
GetFavoriteRecipes / |
Get the recipes the user has flagged as favorites. |
| GET |
GetCollectedRecipes / |
Gets the recipes the user has added to his meal plan. |
| GET |
SetMealDate / |
Set the date and time for a recipe on the meal plan. |
| GET |
GetListsOfValues / |
Gets list of values to be used with drop downs. |
| GET |
GetRecipesByFreeText / |
Gets a list of recipes. Max number of recipes returned is limited to 50. |
| POST |
CreateRecipe / |
Creates a recipe on back end for bulk import. |
| GET |
AddRecipeToMealPlan / |
Adds a recipe to the users meal plan. |
| GET |
GetTabRecipes / |
Get 3 sets of recipe data (popular, new and recommended) |
| GET |
RemoveCollectedRecipes / |
Removes all recipes form the meal plan. |
| GET |
GetDefaultSupplierMappingByRecipe / |
Gets a list of products that if purchased matches the ingredients attached to the recipe. |
| GET |
GetRecipesInCategory / |
Gets the recipes for a specific category. TODO: Add current page and total number of pages to response. |
| GET |
GetOrderRecipesByPublicKey / |
Retrieves the recipes for a specific order -> meaning the meal plan was converted to a final order at the online supermarket. |
| GET |
SetConfirmItemsReceivedAtSupplier / |
Supermarket must call this method just after meal plan was transferred to basket from foreign domain. |
| GET |
GetMealBoxRecipes / |
Gets a list of recipes for a specific meal box. |
| GET |
RemoveRecipeFromMealPlan / |
Removes a recipe form the meal plan. |
| GET |
SetConfirmOrderFromSupplier / |
Confirms that a meal plan was converted to an order and payment accepted. |
| GET |
GetGroceryListByUserId / |
Gets the sum of grocery list for the current user. If UserId is 0, data stored on DeviceId is used in stead. If UserId > 0 we check if DeviceId is associated with UserId on… |
| GET |
SetRecipeCollectServings / |
Sets the number of servings on the meal plan for a given recipe. |
| GET |
GetMealBoxesByCategoryId / |
Gets the meal boxes attached to a specific category. |
| GET |
GetListOfIngredientsUsedInRecipes / |
Gets a complete list of ingredients used in recipes. |
| GET |
GetWeeklyMealPlan / |
Gets the recipes for a specific weekly meal plan. |
Recipes to grocery store pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $349 / month | — |
|
| ULTRA | $1,495 / month | — |
|
| MEGA | $9,999 / month | — |
|