Update Meal Plan Settings
At your convenience, you can make adjustments to the meal plan settings to accordingly change or adjust your meal plan.
Note: To use the Whisk Meal Plan API, you must acquire a User Token. For more information, see User Access Tokens.
The Meal Plan API provides you two endpoints that allow you to update the meal plan settings. The only difference between the two is that one of them requires a {meal_plan_id}
and the other doesn't. This arrangement has been made for a future planned feature of supporting multiple meal plans for every user.
While at the moment, since Whisk only supports a single meal plan per user, the {meal_plan_id}
has been kept optional for both endpoints. You can leave it blank and it would be directly derived from the user token being used for API authentication.
Update Settings
PUT
https://api.whisk.com/mealplan/v2/settings
Use this endpoint to update your meal plan settings using the body
parameter as described below.
Request Body
Note: Whisk provides its APIs on the Swagger interface for you to try it out. You can call this endpoint here.
Update Settings
PUT
https://api.whisk.com/mealplan/v2/{meal_plan_id}/settings
Use this endpoint to update your meal plan settings using the meal_plan_id
and the body
parameters as described below.
Path Parameters
Request Body
Note: Whisk provides its APIs on the Swagger interface for you to try it out. You can call this endpoint here.
The body object contains the following attributes and arrays that allows you to update the meal plan settings:
Hint: After you update your meal plan settings, you can always crosscheck it using the Get Meal Plan Settings endpoint.
Last updated