Shopping List by Recipes
A shopping list in Suggestic is a collection of ingredients originating from recipes previously added to the list using the addToShoppingList mutation.
Use the shoppingList
query to obtain the list of recipes added to the shopping list.
Available Fields
Field
Type
Note
ingredient
String
Item in the shopping list
quantity
String
Quantity of the ingredient (item)
floatQuantity
Float
Item quantity as float
recipeName
String
Name of the recipe
isDone
Boolean
True if the item is checked
Example
GraphQL Example
cURL Example
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.
Get Shopping List Aggregate
Use shoppingListAggregate
to obtain the ingredients for the recipe added to the shopping list. If more than one recipe is added to the shopping list, this will show the cumulative ingredients.
Available Fields
Field
Type
Note
ingredient
String
Item in the shopping list
quantity
String
Item (ingredient) quantity
aisleName
String
Name of the aisle in which the ingredient (item) can be found
unit
String
Unit of measurement. Possible Values: cup
, spoon
, ounces
, teaspoon
, tablespoon.
grams
Float
Recipe measurement. Use this value as a reference only.
isDone
Bool
True if the item is checked
Example
GraphQL Example
cURL Example
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