Favorite Recipes

Returns a list of the user's favorited recipes

Use the myFavoriteRecipes query to obtain a list of all the recipes that have been marked as favorite by the user.

Favorites are returned "first in last out".

Available Fields

The following fields will be displayed in the response:

Field Name

Type

Description

id

ID!

The recipe's id

databaseId

String

The database id of the recipe

totalTime

String

Total preparation and cooking time in text format

E.g., 5 minutes

name

String

Name of the recipe

Refer to this documentation to get the complete list of recipe fields you can add to the query response

Example

Get the user's favorite recipes

{
  myFavoriteRecipes {
    edges {
      node {
        id
        name
      }
    }
  }
}

UI/UX example

In the same way, we have code examples, this is an implementation example in which see results of the API execution in the Suggestic App.

Last updated