Add Favorite Recipe
Last updated
Was this helpful?
Last updated
Was this helpful?
Use the userFavoriteRecipe
mutation to set a recipe as a user's favorite.
To obtain a list of the user's favorite recipes, use the query.
Argument
Type
Description
recipeId
ID
UUID (databaseId)
Response returns isUserFavorite
bool field
Field Name
Type
Description
success
Boolean
True if the recipe has been set as favorite. Otherwise is False
isUserFavorite
Boolean
True if the recipe has been set as a favorite for the given user. Otherwise is False