My Branded Food Search

Use the myBrandedFoodsto return the user's stored branded foods. These branded foods are the ones created by a user by using the createMyBrandedFoods mutation.

Use also an optional ID argument to search b64id foods.

Available Argument

Available Fields

The following fields are part of the response.

Pagination

The myBrandedFoods query supports the use of pagination. The following fields can be used

 pageInfo{
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }

Examples

GraphQL Example

{
  myBrandedFoods {
    edges {
      node {
        id
        name
        servingSize
        servingSizeUnit
        householdServingFulltext
        nutrients {
          unit
          type
          name
        }
      }
    }
  }
}

Last updated