Create "own" Food Item
Create a new food item
Last updated
Create a new food item
Last updated
Use the createOwnMealLog
mutation to create a new food item for the currently logged user.
Optional: use logAfterCreation to automatically add to the user's log after the item has been created.
Note:
mealTime parameter has been deprecated. Instead, mealTimes parameter has been added.
Arguments
Required
Type
name
true
String!
barcode
false
String
brand
false
String
date
false
Date
logAfterCreation
false
Boolean
mealTimes
true
mealType
true
ownNutrients
true
ownServing
true