# Supplement list

Use the `supplements` query to get the information of the supplements available in the app.

### Arguments

| Argument | Type   | Description                                                                                            |
| -------- | ------ | ------------------------------------------------------------------------------------------------------ |
| `id`     | ID     | Supplement Id.                                                                                         |
| `name`   | String | Name of the supplement.                                                                                |
| `first`  | Int    | Retrieves the first results from the list.                                                             |
| `last`   | Int    | Retrieves the last results from the list.                                                              |
| `after`  | String | See [pagination](https://docs.suggestic.com/graphql/start-here/tutorials-and-walkthroughs/pagination). |
| `before` | String | See [pagination](https://docs.suggestic.com/graphql/start-here/tutorials-and-walkthroughs/pagination). |

### Available fields

| Field        | Type                                                                                                                                  | Description                                     |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| `supplement` | [Supplement](https://app.gitbook.com/o/-LwqSh0rNboNaGEQruZQ/s/-LwqSnBDpAb6mFZYLsuB/~/changes/4l7uAKQKaw9yJFBS8bgU/objects/supplement) | A structured version of Supplement information. |

### Example

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

```graphql
{supplements(name:"SuppTest"){
  edges{
    node{
      name
      brand
      id
    }
  }
}}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "supplements": {
      "edges": [
        {
          "node": {
            "name": "SuppTest",
            "brand": "ACME",
            "id": "U3VwcGxlbWVudDpkMzAxNmM4Ni1kNGVmLTRiYjAtODk0OS0xYWNiZmFmNzY5YjE="
          }
        }
      ]
    }
  }
}
```

{% endtab %}
{% endtabs %}
