Update Recommended Supplement

Use updateSupplementRecommended to update recommended supplement.

Required Arguments

ArgumentTypeDescription

biomarkerId

ID!

Biomarker Id.

supplementId

ID!

Supplement Id.

normalValues

GenericScalar!

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

supplementRecommended

SupplementRecommended

Recommended Supplement object.

Example

mutation($input: UpdateSupplementRecommendedInput!) {
    updateSupplementRecommended(input: $input) {
        success message errors { field messages }
        supplementRecommended {
            id valueMax valueMin supplement { id name description }
            normalValues
        }
    }
}

Last updated