Create my Common Foods
Available Arguments
Available Fields
Example
mutation createMyCommonFoods {
createMyCommonFoods(
input: {
name:"CALIFORNIA CHILE BLEND"
description:"AG STANDARD, CALIFORNIA CHILE BLEND SMOKE ALMONDS"
nutrients:[
{amount:0.038,unit:"G",nutrient:PROTEIN},
{amount:0.34,unit:"G",nutrient:RETINOL}
]
portions:[
{amount:45.33 unit:"g" modifier:"90000" gramWeight:1}
]}) {
success
message
}
}{
"data": {
"createMyCommonFoods": {
"success": true,
"message": "Common food saved"
}
}
}Last updated
Was this helpful?