> For the complete documentation index, see [llms.txt](https://docs.suggestic.com/graphql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.suggestic.com/graphql/query/mutations/food-log/express-track/create-express-meal-track.md).

# Create Express Meal Track

Use the `createExpressTrack` mutation to create a quick and easy meal entry to be used on the food log.

## Arguments

| Argument   | Type      | Description                                                                                  |
| ---------- | --------- | -------------------------------------------------------------------------------------------- |
| `foodName` | String    | Name of the meal.                                                                            |
| `mealTime` | MealTime! | <p>Meal time to assign.<br>enum MealTime {<br>BREAKFAST<br>LUNCH<br>DINNER<br>SNACK<br>}</p> |
| `calories` | Float!    | Number of total calories of the meal entry.                                                  |
| `proteins` | Float!    | Total protein of the meal in grams.                                                          |
| `carbs`    | Float!    | Total carbs of the meal in grams.                                                            |
| `fats`     | Float!    | Total fats of the meal in grams.                                                             |
| `datetime` | DateTime  | The date when the entry will be logged. Use the format: `YYYY-MM-DDT hh:mm:ssZ`              |
| `imageUrl` | String    | Food image URL.                                                                              |

## Available Fields

| Field     | Type    | Description                                                                                |
| --------- | ------- | ------------------------------------------------------------------------------------------ |
| `success` | Boolean | **True** if the express meal track entry has been saved. Otherwise, it displays **False.** |
| `message` | String  | Description of the result.                                                                 |

## Example

{% tabs %}
{% tab title="Request" %}

```graphql
mutation{
  createExpressTrack(
    foodName:"Quick breakfast"
    mealTime: BREAKFAST
    calories: 630
    proteins: 50
    carbs:66
    fats:23
    datetime:"2025-05-23T09:07:21-07:00"
    imageUrl:"https://storage.googleapis.com/sg-data/foods-lens/7f67e6a5-e6e3-4091-92fe-33625083198c.jpg"
  ){
    success
    message
  }
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "createExpressTrack": {
      "success": true,
      "message": "Express Track added successfully"
    }
  }
}
```

{% endtab %}
{% endtabs %}
