Update "Own" Recipe

Update an "own" recipe

CAUTION: Legacy Endpoint! Please refer to the User's recipe documentation for a new and improved way of creating your own recipe for food logging or other purposes.

Use the updateOwnRecipemutation to update an "own" recipe for the currently logged user.

Argument

Required

Type

Description

databaseId

true

String!

databaseId of the "own" recipe

recipeName

false

String!

Name of the "own" recipe

ingredients

false

Collection of ingredients of the "own" recipe

quantity

false

Float!

Quantity of the ingredient

mutation {
  updateOwnRecipe(
    databaseId: "5c9d030a-6a47-11eb-84cf-46e824c1dc9c"
    recipeName: "My Daily Snack"
    quantity: 2
    ingredients: [
      {id: "09038", mealType: USDA_MEAL, quantity: 1, serving: 0},
      {id: "01123", mealType: USDA_MEAL, quantity: 1, serving: 0}
    ]
  ) {
    success
  }
}

Last updated