Update Recommended Article

Use updateArticleRecommended to update the recommended article.

Required Arguments

ArgumentTypeDescription

articleRecommended

ID!

Recommended Article Id.

articleId

ID!

Article Id.

biomarkerId

ID!

Biomarker Id.

range

BiomarkerRangeInput!

Biomarker Range Input.

range.max

Float!

Smallest defined value.

range.min

Float!

Largest defined value.

Available Fields

FieldTypeDescription

success

String

Success if Recommended Supplement created succesfully.

message

String

Description of the result. Either if the recipe was added or not

articleRecommended

ArticleRecommended

Recommended Article object.

Example

mutation updateArticleRecommended {
    updateArticleRecommended(input: {
      id: "QXJ0aWNsZVJlY29tbWVuZGVkOjI=",
      range: { max: 120, min: 50 }
    }) {
        success message errors { field messages }
        articleRecommended {
            id article { id title } biomarker { id name }
        }
    }
}

Last updated