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 |
| String | Item in the shopping list |
| String | Quantity of the ingredient (item) |
| Float | Item quantity as float |
String | Name of the aisle in which the ingredient (item) can be found. See options here. | |
| String | Name of the recipe |
| 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 |
| String | Item in the shopping list |
| String | Item (ingredient) quantity |
| String | Name of the aisle in which the ingredient (item) can be found |
| String | Unit of measurement. Possible Values: |
| Float | Recipe measurement. Use this value as a reference only. |
| 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