Add Multiple Recipes to the Shopping List

Use the addRecipesToShoppingList mutation to add multiple recipes to the user's shopping list

Available Argument

Arguments

Type

Description

recipeIds

[UUID]

Array of recipe database IDs

Available Fields

Field Name

Type

Description

success

Boolean

True if the recipe has been added to the shopping list. Otherwise, it will display False

message

String

Description of the result. Either if the recipe was added or not.

Example

mutation {
  addRecipesToShoppingList(recipeIds: [
    "26400c11-125d-4782-b83c-6c74923ae9ab",
    "4719210c-fff5-4709-b6d2-7b460102843d"
  ]) {
    message
    success
  }
}

UI/UX example

This is an implementation example from the Suggestic App.

Last updated