Create my Common Foods
Use the createMyCommonFoods
mutation to log an own-brand food intake.
Available Arguments
Name
Type
Required?
Description
name
String
No
Name of the food
description
String
No
Description of the food
nutrients
No
Object that contains the nutrient fields information of the food to be introduced.
portions
No
Object that contains the portions fields information of the food to be introduced.
Available Fields
The following field will be part of the response.
Field name
Type
Description
sucess
String
True if the common food has been created. Otherwise, it displays False
message
String
Description of the result
Example
Last updated