# Legacy | User's Biomarkers

{% hint style="danger" %}
**CAUTION: Legacy Endpoint!**\
Please refer to the [`Custom Attributes`](https://docs.suggestic.com/graphql/query/mutations/user-profile/custom-attributes) documentation for a new and improved way of storing biomarkers.
{% endhint %}

### Create Profile Biomarkers

Use the `createProfileBiomarkers` mutation to set biomarker data on the user's profile.

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

```graphql
mutation {
  createProfileBiomarkers(
    hba1c: 3.0
    totalCholesterol: 200
    cholesterolLdl: 200
    vitaminD: 200
    vitaminB12: 100
    cortisol: 20
    ferritin: 200
  ) {
    success
  }
}
```

{% endtab %}

{% tab title="Response" %}

```javascript
{
  "data": {
    "createProfileBiomarkers": {
      "success": true
    }
  }
}
```

{% endtab %}
{% endtabs %}

### Update Profile Biomarkers

Use the `updateProfileBiomarkers` mutation to update biomarker data on the user's profile.

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

```graphql
mutation {
  updateProfileBiomarkers(
    hba1c: 3.0
    totalCholesterol: 200
    cholesterolLdl: 200
    vitaminD: 200
    vitaminB12: 100
    cortisol: 20
    ferritin: 200
  ) {
    success
  }
}
```

{% endtab %}

{% tab title="Response" %}

```javascript
{
  "data": {
    "updateProfileBiomarkers": {
      "success": true
    }
  }
}
```

{% endtab %}
{% endtabs %}

Use the [MyProfile](https://docs.suggestic.com/graphql/query/queries/users/my-profile) query to obtain biomarker and other user profile data.
