Create "own" Food Item
Create a new food item
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.
Arguments
Required
Type
name
true
String!
barcode
false
String
brand
false
String
date
false
Date
logAfterCreation
false
Boolean
Note:
mealTime parameter has been deprecated. Instead, mealTimes parameter has been added.
Last updated