Update Serving Number

Use updateShoppingListRecipeServings to update the recipe number of servings

Arguments

Type

Description

recipeId

ID

ID of the recipe

numberOfServings

Int

Servings quantity

Example

Update the recipe number of servings to 2.

mutation {
updateShoppingListRecipeServings(
   recipeId: "UmVjaXBlOjQyOWM5N2M5LTMyN2ItNDFlNS05MjdlLWI5ZWU3YTJjZWRlYg==",
   numberOfServings: 2) {
    success
}
  }

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