Update a User Recipe
Use the updateMyRecipe
mutation to update your own recipe. All the arguments to be sent are optional; however, it will update only the ones send in the mutation. Note that only the owner of the recipe can update it.
Required Arguments
Name | Type | Description |
| String | Unique Id of the user's recipe. Get the information of all your recipes by executing the |
| Object | At least one argument must be sent. See the list of available arguments |
Available Arguments
Name | Type | Description |
| String | Name of the recipe |
| String | Tags representing the courses associated with the recipe. For example Main dishes, Side Dishes, Appetizers, Salads, etc. |
| String | Tags representing the cuisines associated with the recipe. |
| String | Description of the recipe ingredients. Separate them by using commas. |
| An object that includes the ingredient amount for a given food. | |
| String | An array of cooking instruction lines. |
| Description of the food | |
| Int | Original recipe number of servings |
| Language | Language code of the recipe. Possible Values:
|
| String | Meal tags. Possible values: "VEGETARIAN", "Shake", "PLANT_BASED", "DAIRY_FREE", "VEGAN", "GLUTEN_FREE" |
| String | Total preparation and cooking time in text format E.g., 5 minutes |
| Int | Total preparation and cooking time in seconds |
Available Fields
The following field will be part of the response.
Field name | Type | Description |
| String | True if the user's recipe has been updated. Otherwise, it displays False |
| String | Description of the result |
Example
Execute the myRecipe
query to check if the information was updated successfully:
Last updated