Recommended Supplements

Use the supplementsRecommended query to get the list of all supplements recommended for the user.

Available Arguments

ArgumentTypeDescription

first

Int

Retrieves the first results from the list.

after

String

before

String

id

ID

Id of the Lab Test Report.

last

Int

Available Fields

Field NameTypeDescription

id

ID

Recommended supplements ID.

createdAt

DateTime

Recommended Supplement date

supplement

Supplement

biomarker

Biomarker

Example

query supplementsRecommended($id: ID, $first: Int) {
    supplementsRecommended(id: $id, first: $first) {
        pageInfo {
            startCursor hasNextPage hasPreviousPage endCursor
        }
        edges {
            cursor
            node {
                id createdAt updatedAt 
                supplement { 
                    id name category mainImage brand servingName description
                    directionsOfUseText sizeCount externalId sku storeId
                    shopifyVariantId shopifyParentId instructions ingredients 
                    supplementFacts images directionsOfUse { id quantity timeOfDay }
                    createdAt updatedAt
                }
                biomarker {
                    id name method description range { max min } 
                    aliases { name language }
                    category { id name parent { id name } }
                    units { name factor alias }
                    optimalRange { max min }
                    borderlineRange { max min }
                }
            }
        }
    }
}

Last updated